su/data/addons

The shortcodes-ultimate su/data/addons hook.

Published Date - February 15, 2021

Description

return apply_filters(
	'su/data/addons',
	array(
		array(
			'id'          => 'bundle',
			'slug'        => 'add-ons-bundle',
			'title'       => __( 'Add-ons Bundle', 'shortcodes-ultimate' ),
			'description' => __( 'Three-in-one, best price, simple', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/add-ons-bundle/',
			'is_bundle'   => true,
		),
		array(
			'id'          => 'extra',
			'slug'        => 'additional-shortcodes',
			'title'       => __( 'Extra Shortcodes', 'shortcodes-ultimate' ),
			'description' => __( 'A set of 15 additional shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/extra-shortcodes/',
		),
		array(
			'id'          => 'maker',
			'slug'        => 'shortcode-creator',
			'title'       => __( 'Shortcode Creator', 'shortcodes-ultimate' ),
			'description' => __( 'Create your own shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/shortcode-creator/',
		),
		array(
			'id'          => 'skins',
			'slug'        => 'additional-skins',
			'title'       => __( 'Additional Skins', 'shortcodes-ultimate' ),
			'description' => __( 'Add more style to your shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/additional-skins/',
		),
	)
);

Parameters

  1. $array, description => __, permalink => https://getshortcodes.com/add-ons/add-ons-bundle/, is_bundle => true), array, description => __, permalink => https://getshortcodes.com/add-ons/extra-shortcodes/), array, description => __, permalink => https://getshortcodes.com/add-ons/shortcode-creator/), array, description => __, permalink => https://getshortcodes.com/add-ons/additional-skins/))


Usage

The following example is for adding a hook callback.

// define the su/data/addons callback 
function custom_su_data_addons( $array, description => __, permalink => https://getshortcodes.com/add-ons/add-ons-bundle/, is_bundle => true), array, description => __, permalink => https://getshortcodes.com/add-ons/extra-shortcodes/), array, description => __, permalink => https://getshortcodes.com/add-ons/shortcode-creator/), array, description => __, permalink => https://getshortcodes.com/add-ons/additional-skins/)) ){ 
   //custom code here
    return $array, description => __, permalink => https://getshortcodes.com/add-ons/add-ons-bundle/, is_bundle => true), array, description => __, permalink => https://getshortcodes.com/add-ons/extra-shortcodes/), array, description => __, permalink => https://getshortcodes.com/add-ons/shortcode-creator/), array, description => __, permalink => https://getshortcodes.com/add-ons/additional-skins/))
} 

//add the action 
add_filter('su/data/addons', 'custom_su/data/addons', 10, 1)

Defined

The filter is defined in the following location(s).

shortcodes-ultimate/includes/config/addons.php

return apply_filters(
	'su/data/addons',
	array(
		array(
			'id'          => 'bundle',
			'slug'        => 'add-ons-bundle',
			'title'       => __( 'Add-ons Bundle', 'shortcodes-ultimate' ),
			'description' => __( 'Three-in-one, best price, simple', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/add-ons-bundle/',
			'is_bundle'   => true,
		),
		array(
			'id'          => 'extra',
			'slug'        => 'additional-shortcodes',
			'title'       => __( 'Extra Shortcodes', 'shortcodes-ultimate' ),
			'description' => __( 'A set of 15 additional shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/extra-shortcodes/',
		),
		array(
			'id'          => 'maker',
			'slug'        => 'shortcode-creator',
			'title'       => __( 'Shortcode Creator', 'shortcodes-ultimate' ),
			'description' => __( 'Create your own shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/shortcode-creator/',
		),
		array(
			'id'          => 'skins',
			'slug'        => 'additional-skins',
			'title'       => __( 'Additional Skins', 'shortcodes-ultimate' ),
			'description' => __( 'Add more style to your shortcodes', 'shortcodes-ultimate' ),
			'permalink'   => 'https://getshortcodes.com/add-ons/additional-skins/',
		),
	)
);