Answers for "divi layout injector shortcode module in function php file"

PHP
0

divi layout injector shortcode module in function php file

// Shortcode pour afficher le module
function showmodule_shortcode ($ moduleid) {
extract (shortcode_atts (array ('id' => '*'), $ moduleid)); 
return do_shortcode ('[et_pb_section global_module = "'. $ id. '"] [/ et_pb_section]');
}
add_shortcode ('showmodule', 'showmodule_shortcode');
Posted by: Guest on February-12-2021

Code answers related to "divi layout injector shortcode module in function php file"

Browse Popular Code Answers by Language