wxr_export_skip_postmeta

wxr_export_skip_postmeta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wxr_export_skip_postmeta') is found 1 times:

  • /wp-admin/includes/export.php line 669
    					 * @param bool   $skip     Whether to skip the current post meta. Default false.
    					 * @param string $meta_key Current meta key.
    					 * @param object $meta     Current meta object.
    					 */
    					if ( apply_filters( 'wxr_export_skip_postmeta', false, $meta->meta_key, $meta ) ) {
    						continue;
    					}
    					?>
    		<wp:postmeta>
    		<wp:meta_key><?php echo wxr_cdata( $meta->meta_key ); ?></wp:meta_key>
    		<wp:meta_value><?php echo wxr_cdata( $meta->meta_value ); ?></wp:meta_value>
    

See this hook used in plugins: