the_excerpt_export

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

Paramètres

Entrée :
$post->post_excerpt
Sortie :
@param string $post_excerpt Excerpt for the current post.

Utilisation

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

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

Actualités

Chargement des actualités...