wphooks.info - is_protected_meta

is_protected_meta

(trunk - 5.0-alpha-43293)

The hook occurs in the following file:

wp-includes/meta.php:
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
	/**
	 * Filters whether a meta key is considered protected.
	 *
	 * @since 3.2.0
	 *
	 * @param bool        $protected Whether the key is considered protected.
	 * @param string      $meta_key  Meta key.
	 * @param string|null $meta_type Type of object metadata is for (e.g., comment, post, or user).
	 */
	return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );
}

/**
 * Sanitize meta value.
 *
 * @since 3.1.3
 *
 * @param string $meta_key       Meta key.
 * @param mixed  $meta_value     Meta value to sanitize.