But the add_shortcode() warning occur via Theme Check in the context of using Visual Composer plugin. We use add_shortcode() function to create custom Visual Composer content modules that are part of the theme design.
We built this theme design using Visual Composer and his vc_map() function. We know that shortcodes are plugin-territory functionality but we can not move the design of our theme in a plugin.
This is a really simple thing I striped from my way of doing it, it’s a more complex OOP approach that I came up, also you can specify the ‘category’ key which will be your Jumbo Modules in a group.
Hope it helps you.
LE: this code goes into your plugins main file.
LE2: your_prefix_add_params will have the vc_map functions and your_prefix_add_components will have your vc_add_shortcode_param functions.