Action: swifty_register_shortcodes

Modified on: 2016-11-01 15:07:12 +0100


Plugins can provide SCC with information how their shortcodes can be inserted and edited.

This action is called by SCC for plugins to register their shortcodes with the action swifty_register_shortcode.

Example:
dd_action(swifty_register_shortcodes, function() {
   /**
    * add this asset as shortcode
    */
   do_action( swifty_register_shortcode, array( ..... ) );
}

Was dit antwoord nuttig? Ja Nee

Hoe kunnen we dit artikel verbeteren?