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.7.2

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

  • /wp-includes/meta.php line 1351
    1347
    1348
    1349
    1350
    1351
    1352
    1353
    1354
    1355
    1356
    1357
         * @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