Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress create shortcode

function create_shortcode(){
    return "<h2>Hello world !</h2>";
}
add_shortcode('my_shortcode', 'create_shortcode');
// Use [my_shortcode]
 
PREVIOUS NEXT
Tagged: #wordpress #create #shortcode
ADD COMMENT
Topic
Name
2+9 =