su/data/groups

The shortcodes-ultimate su/data/groups hook.

Published Date - February 15, 2021

Description

return apply_filters(
	'su/data/groups',
	array(
		'all'     => __( 'All', 'shortcodes-ultimate' ),
		'content' => __( 'Content', 'shortcodes-ultimate' ),
		'box'     => __( 'Box', 'shortcodes-ultimate' ),
		'media'   => __( 'Media', 'shortcodes-ultimate' ),
		'gallery' => __( 'Gallery', 'shortcodes-ultimate' ),
		'data'    => __( 'Data', 'shortcodes-ultimate' ),
		'other'   => __( 'Other', 'shortcodes-ultimate' ),
	)
);

Parameters

  1. $array, content => __, box => __, media => __, gallery => __, data => __, other => __)


Usage

The following example is for adding a hook callback.

// define the su/data/groups callback 
function custom_su_data_groups( $array, content => __, box => __, media => __, gallery => __, data => __, other => __) ){ 
   //custom code here
    return $array, content => __, box => __, media => __, gallery => __, data => __, other => __)
} 

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

Defined

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

shortcodes-ultimate/includes/config/groups.php

return apply_filters(
	'su/data/groups',
	array(
		'all'     => __( 'All', 'shortcodes-ultimate' ),
		'content' => __( 'Content', 'shortcodes-ultimate' ),
		'box'     => __( 'Box', 'shortcodes-ultimate' ),
		'media'   => __( 'Media', 'shortcodes-ultimate' ),
		'gallery' => __( 'Gallery', 'shortcodes-ultimate' ),
		'data'    => __( 'Data', 'shortcodes-ultimate' ),
		'other'   => __( 'Other', 'shortcodes-ultimate' ),
	)
);