Return the current, full URL.
Because PHP is incompetent and unable to do so with a single server var.
package |
Default |
---|---|
string
Replacement for wp_enqueue_script & wp_enqueue_style. Handles cachebusting hashes.
define('WPT_ENQUEUE_STRIP_PATH', '/data/wordpress/htdocs'); \rnb\core\enqueue(get_stylesheet_directory() . '/build/client.*.js');
package |
Default |
---|
string
array
Returns current env, defaulting to production if none set.
package |
Default |
---|---|
string