- Timestamp:
- 04/30/2018 02:38:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r42343 r43043 942 942 943 943 /** 944 * Determine whether a meta key isprotected.944 * Determines whether a meta key is considered protected. 945 945 * 946 946 * @since 3.1.3 947 947 * 948 * @param string $meta_key Meta key949 * @param string|null $meta_type 950 * @return bool True if the key is protected, false otherwise.948 * @param string $meta_key Meta key. 949 * @param string|null $meta_type Optional. Type of object metadata is for (e.g., comment, post, or user). 950 * @return bool Whether the meta key is considered protected. 951 951 */ 952 952 function is_protected_meta( $meta_key, $meta_type = null ) { … … 954 954 955 955 /** 956 * Filters whether a meta key is protected.956 * Filters whether a meta key is considered protected. 957 957 * 958 958 * @since 3.2.0 959 959 * 960 * @param bool $protected Whether the key is protected. Default false.961 * @param string $meta_key Meta key.962 * @param string $meta_type Meta type.960 * @param bool $protected Whether the key is considered protected. 961 * @param string $meta_key Meta key. 962 * @param string|null $meta_type Type of object metadata is for (e.g., comment, post, or user). 963 963 */ 964 964 return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );
Note: See TracChangeset
for help on using the changeset viewer.