how to create shortcode in wordpress

posted in: Blog, wordpress plugin | 0

Usage <?php add_shortcode( $tag , $func ); ?> Parameters $tag (string) (required) Shortcode tag to be searched in post content Default: None $func (callable) (required) Hook to run when shortcode is found Default: None Return Values (none) Examples Simplest example of a shortcode tag using the … Continued