Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: Laravel, return view with Request::old 
Php :: file_get_contents vs readfile speed 
Php :: convert a value to a float in php 
Php :: woocommerce hook after order complete 
Php :: how to execute a php script from the command line? 
Php :: PHP force refresh image 
Php :: cara looping abjad with range kapital 
Php :: undefine variable $variable in php 
Php :: image_store 
Php :: $SERVER get cuurent directior PHP 
Php :: model coomad laravel 
Php :: update php version of particular domain on ubuntu 
Php :: custom attributes get all custom fields 
Php :: button onclick php 
Php :: send parameter to function in php can null 
Php :: wordpress disable php update required 
Php :: pakistan standard time zone 
Php :: curl multi exec get index 
Php :: php options list view sidebar (240 x 500), list view results (600 x 180), listing page (450 x 200) 
Php :: php pdo random multiple insert query 
Php :: how we generate a single column migration in laravel 
Php :: ajax call php bootstrap validation 
Php :: Modificar el pie de página del panel de administración de WordPress 
Php :: how to export and import database in phpmyadmin 
Php :: php how to use multi byte functions 
Php :: laravel add params form submission 
Php :: laravel change value to intger 
Php :: $_get in php not working 
Php :: remove public path from url laravel 
Php :: set php version in php.ini 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =