Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Ajouter un texte par défaut sur toutes vos publications WordPress

<?php
add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
$content = "This is some custom content I'm adding to the post editor because I hate re-typing it.";
return $content;
}
?>
Source by wpformation.com #
 
PREVIOUS NEXT
Tagged: #Ajouter #texte #par #sur #toutes #vos #publications #WordPress
ADD COMMENT
Topic
Name
2+4 =