app()->namespace . '/remove_toolbar_items'

The members app()->namespace . '/remove toolbar items' hook.

Published Date - July 31, 2023

Description

apply_filters( app()->namespace . '/remove_toolbar_items', $items );

Parameters

  1. $items


Usage

The following example is for adding a hook callback.

// define the app()->namespace . '/remove_toolbar_items' callback 
function custom_app()->namespace . '_remove_toolbar_items'( $items ){ 
   //custom code here
    return $items
} 

//add the action 
add_filter('app()->namespace . '/remove_toolbar_items'', 'custom_app()->namespace . '/remove_toolbar_items'', 10, 1)

Defined

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

members/addons/members-admin-access/app/functions.php

apply_filters( app()->namespace . '/remove_toolbar_items', $items );