sanitize_{$object_type}_meta_{$meta_key}

sanitize_{$object_type}_meta_{$meta_key}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('sanitize_{$object_type}_meta_{$meta_key}') is found 1 times:

  • /wp-includes/meta.php line 1350
    	 * @param string $meta_key    Metadata key.
    	 * @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user',
    	 *                            or any other object type with an associated meta table.
    	 */
    	return apply_filters( "sanitize_{$object_type}_meta_{$meta_key}", $meta_value, $meta_key, $object_type );
    }
    
    /**
     * Registers a meta key.
     *
     * It is recommended to register meta keys for a specific combination of object type and object subtype. If passing