lumenpress/helper

v0.1.1 2017-10-08 08:33 UTC

This package is not auto-updated.

Last update: 2024-11-23 04:08:08 UTC


README

$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();