One minute
PHP Customize excerpt in a WordPress post
👴 Careful You’re reading an old article ! Some links might be broken and content may be outdated
add_filter( 'get_the_excerpt', 'my_new_excerpt' );
function my_new_excerpt( $format )
{
$format = __( ' Blabla' ); // Modify this to your needs!
return $format;
}
Enjoy !
Read other posts