wphooks.info - is_protected_meta

is_protected_meta

(trunk - 5.0-alpha-42716)

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 protected.
	 *
	 * @since 3.2.0
	 *
	 * @param bool   $protected Whether the key is protected. Default false.
	 * @param string $meta_key  Meta key.
	 * @param string $meta_type Meta type.
	 */
	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.