ScriptsManager
in package
Class ScriptsManager
Table of Contents
- $prefix : mixed
- $version : mixed
- __construct() : mixed
- ScriptsManager constructor.
- enqueue_editor_section_css() : mixed
- enqueueEditorAssets() : mixed
- Enqueue editor-only js and css (Enqueue scripts (only on Edit Post Page))
- enqueueFrontBlockAssets() : mixed
- Enqueue js and css for both editor and front-end
- get_image_sizes() : mixed
- get_locale_data() : mixed
- load_locale_data() : mixed
- localizeFrontend() : mixed
- wp_late_enqueue_scripts() : mixed
Properties
$prefix
private
mixed
$prefix
$version
private
mixed
$version
Methods
__construct()
ScriptsManager constructor.
public
__construct() : mixed
Return values
mixed —enqueue_editor_section_css()
public
enqueue_editor_section_css() : mixed
Return values
mixed —enqueueEditorAssets()
Enqueue editor-only js and css (Enqueue scripts (only on Edit Post Page))
public
enqueueEditorAssets() : mixed
Return values
mixed —enqueueFrontBlockAssets()
Enqueue js and css for both editor and front-end
public
enqueueFrontBlockAssets() : mixed
Return values
mixed —get_image_sizes()
public
get_image_sizes() : mixed
Return values
mixed —get_locale_data()
public
get_locale_data(mixed $domain) : mixed
Parameters
- $domain : mixed
Return values
mixed —load_locale_data()
public
load_locale_data() : mixed
Return values
mixed —localizeFrontend()
public
localizeFrontend() : mixed
Return values
mixed —wp_late_enqueue_scripts()
public
wp_late_enqueue_scripts() : mixed