You appear to be a bot. Output may be restricted
Description
Return the function name as an array if necessaryIf the function is in the form class::method then we need to pass it as an array to remove_filters()
Usage
oiku_get_function_as_array( $function );
Parameters
- $function
- ( mixed ) required –
Returns
voidSource
File name: oik-user/admin/oik-user.phpLines:
1 to 7 of 7
function oiku_get_function_as_array( $function ) { if ( false !== strpos( $function, "::" ) ) { list( $class, $method ) = explode( "::", $function ); $function = array( $class, $method ); } return( $function ); }View on GitHub