I’m developing a new WordPress theme which uses Visual Composer. I’m adding some shortcodes to VC to extend it’s functionality. As you may know, the Theme Check plugin warns about add_shortcode();
The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
How can I solve this? I know that I need to add the shortcodes as a plugin but how can I use Visual Composer’s functions in my plugin like vc_map() ?
Thanks in advance!