LIMITED TIME DEAL

NOV 27TH – DEC 3RD

🔥 BLACK FRIDAY SALE 🔥

GET ADD-ONS BUNDLE WITH 34% OFF

GET ADD-ONS BUNDLE – FROM ONLY $39

DISCOUNT CODE APPLIED AUTOMATICALLY

Plugin API

Registering custom shortcodes

To create your own shortcode, you should create two special functions. The first function will provide the plugin with information on the added shortcode. The second function will allow the…

Disabling built-in shortcodes

You can use the plugin API in order to remove default shortcodes. Use filter su/data/shortcodes to do that. Disabling all shortcodes To remove all shortcodes, you should simply remove all elements…

Actions, Filters, Options

Actions su/admin/css/originals/after Runs on custom CSS editor page, after the list of links to original style files su/assets/register Runs after registration of styles and scripts su/assets/enqueue Runs after enqueuing of…

How to disable the “Last used settings” preset

Last used settings is a service preset which is automatically created every time you insert a shortcode using the Insert shortcode tool. It stores the settings you used for the…

Modifying original shortcodes

Use su/data/shortcodes filter to modify original shortcodes. You can find default shortcodes in the /wp-content/plugins/shortcodes-ultimate/includes/shortcodes/ folder. Use the following code snippets in the functions.php of your theme. Example (modifying attributes) add_filter( ‘su/data/shortcodes’, ‘add_custom_button_style’ );/** * Filter…

Changing default values for specific attributes

Code in this article requires PHP version 5.3 or higher. The following snippet will set custom default values for the note_color and radius attributes of the