the_content_export

FILTER wp-admin\includes\export.php (ligne 621) github
Filters the post content used for WXR exports.

Paramètres

Entrée :
$post->post_content
Sortie :
@param string $post_content Content of the current post.

Utilisation

// Modifier la valeur avec le filtre 'the_content_export'
add_filter('the_content_export', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($post->post_content) {
    // Modifier la valeur
    return $post->post_content;
}

Actualités

Chargement des actualités...