lumenpress/helper

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

This package is not auto-updated.

Last update: 2024-10-26 03:45:42 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();