sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}

sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}

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}_for_{$object_subtype}') is found 1 times:

  • /wp-includes/meta.php line 1333
    		 * @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.
    		 * @param string $object_subtype Object subtype.
    		 */
    		return apply_filters( "sanitize_{$object_type}_meta_{$meta_key}_for_{$object_subtype}", $meta_value, $meta_key, $object_type, $object_subtype );
    	}
    
    	/**
    	 * Filters the sanitization of a specific meta key of a specific meta type.
    	 *
    	 * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`,