scbUtil
Various utilities.
Package
Description Description
Methods Methods
- add_activation_hook — Enable delayed plugin activation. To be used with scb_init()
- add_uninstall_hook — Allows more than one uninstall hooks.
- array_extract — Extract certain $keys from $array. — deprecated
- array_map_recursive — Apply a function to each element of a ( nested ) array recursively.
- array_map_recursive_helper
- array_pluck — Extract a certain value from a list of arrays. — deprecated
- array_to_sql — Prepare an array for an IN statement.
- do_activation — Execute activation hook.
- do_scripts — Force script enqueue.
- do_styles — Force style enqueue.
- do_uninstall — Execute uninstall hook.
- get_current_url — Get the current, full URL.
- objects_to_assoc — Transform a list of objects into an associative array. — deprecated
- split_at — Example: split_at( '</', '' ) => array( '', '' )