su/generator/tools

The shortcodes-ultimate su/generator/tools hook.

Published Date - February 15, 2021

Description

$tools = apply_filters( 'su/generator/tools', array(
				'' . __( 'Plugin settings', 'shortcodes-ultimate' ) . '',
				'' . __( 'Plugin homepage', 'shortcodes-ultimate' ) . '',
			) );

Parameters

  1. $array . target=_blank title= . __ . > . __ . , . __ . )


Usage

The following example is for adding a hook callback.

// define the su/generator/tools callback 
function custom_su_generator_tools( $array .  target=_blank title= . __ . > . __ . ,  . __ . ) ){ 
   //custom code here
    return $array .  target=_blank title= . __ . > . __ . ,  . __ . )
} 

//add the action 
add_filter('su/generator/tools', 'custom_su/generator/tools', 10, 1)

Defined

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

shortcodes-ultimate/inc/core/generator.php

$tools = apply_filters( 'su/generator/tools', array(
				'<a href="' . admin_url( 'admin.php?page=shortcodes-ultimate-settings' ) . '" target="_blank" title="' . __( 'Settings', 'shortcodes-ultimate' ) . '">' . __( 'Plugin settings', 'shortcodes-ultimate' ) . '</a>',
				'<a href="https://getshortcodes.com/" target="_blank" title="' . __( 'Plugin homepage', 'shortcodes-ultimate' ) . '">' . __( 'Plugin homepage', 'shortcodes-ultimate' ) . '</a>',
			) );