Support » Plugin: PHP Code for posts » Way to detect shortcodes, using WordPress core functions

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jamie Fraser

    (@thejfraser)

    Hi Sybre,

    If you look at Classes/PhpCodeForPosts.php you can see that on lines 31 and 33, the shortcodes are already registering using the add_shortcode method, which should be adding them to the global variable already.

    — J

    Thanks Jamie, that’s absolutely correct!

    Have a great day :).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Way to detect shortcodes, using WordPress core functions’ is closed to new replies.