wxr_export_skip_commentmeta

wxr_export_skip_commentmeta

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wxr_export_skip_commentmeta') is found 1 times:

  • /wp-admin/includes/export.php line 712
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
                         * @param bool   $skip     Whether to skip the current comment meta. Default false.
                         * @param string $meta_key Current meta key.
                         * @param object $meta     Current meta object.
                         */
                        if ( apply_filters( 'wxr_export_skip_commentmeta', false, $meta->meta_key, $meta ) ) {
                            continue;
                        }
                        ?>
    <wp:commentmeta>
    <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: