Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function add_shortcode( $tag, $func, $has_name = false ) {
- if ( is_callable( $func ) )
- $this->shortcode_tags[$tag] = array(
- 'function' => $func,
- 'has_name' => (boolean) $has_name );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement