gdrts_is_inside_shortcode
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
gdrts_is_inside_shortcode();
Description
Return if the plugin rendering is currently inside the shortcode.
Returns
If it is inside the shortcode, returns an array with parameters:
- name: name of the widget
- args: widget core arguments
- instance: widget settings
If it is not inside the shortcode, return false.