Skip to main content

global_pop

Function global_pop 

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

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