Brimbox Logo Brimbox Version 2.3.4 Released

remove_action>>

Method to remove an action from the global array ($array_global).

Class: bb_build, called as $main

File: bb_build.php (php)

Declaration:

function remove_action($name, $action, $callable, $priority = NULL) {

Usage:

$main->remove_action($name, $action, $callable, $priority) {

global $array_global

Note: If $priority is not specified will remove all values with the specified $callable. If priority is set removes all values with the specified $callable and $priority. It is possible to have multiple values with the same $callable and $priority.

Parameter: $name (string)
The associative name in the global array.

Parameter: $action (string)
The action, an associative key in the global array.

Parameter: $callable (function)
A callable function at the root array level of the array value. This method will loop and search the array for a $callable at the given $name and $action.

Parameter: $priority (integer)
If $priority is set, will loop and search on both $priority and $callable.

Updated: 2017-08-21