github.com/lumenpress/helper
Source
Issues
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
None
Requires (Dev)
Suggests
Provides
Conflicts
Replaces
MIT 1567b2b8986f95f338ef6ff7b37c55e23af6cdcc
This package is not auto-updated.
Last update: 2024-11-23 04:08:08 UTC
$wp = \LumenPress\Helper::wrap(['wp_', 'wp_get_'], [ ]); $is = \LumenPress\Helper::wrap(['is_', 'wp_is_'], [ 'php' => true, ]); wp_head(); // equals $wp->head; // execute only once $wp->head(); // execute every time wp_is_mobile(); // equals $is->mobile; $is->mobile();