Skip to main content

global_push

Function global_push 

Source
pub fn global_push(name: &str, value: &Value) -> Result<bool, PhpError>
Expand description

$GLOBALS[$name][] = $value, in place, as WordPress pushes $wp_current_filter: one entry into PHP. False (nothing done) when the global is not an array.