su/admin/capability

The shortcodes-ultimate su/admin/capability hook.

Published Date - February 15, 2021

Description

return apply_filters( 'su/admin/capability', $this->capability );

Parameters

  1. $capability


Usage

The following example is for adding a hook callback.

// define the su/admin/capability callback 
function custom_su_admin_capability( $capability ){ 
   //custom code here
    return $capability
} 

//add the action 
add_filter('su/admin/capability', 'custom_su/admin/capability', 10, 1)

Defined

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

shortcodes-ultimate/admin/class-shortcodes-ultimate-admin.php

return apply_filters( 'su/admin/capability', $this->capability );