wphooks.info - is_protected_meta

is_protected_meta

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/meta.php:
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
	/**
	 * 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.