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]
Source by www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #wordpress #create #shortcode
ADD COMMENT
Topic
Name
3+5 =