Class Assets
Asset management for frontend scripts and styles.
- MatthiasWeb\RealMediaLibrary\base\Base
-
MatthiasWeb\RealMediaLibrary\base\Assets
-
MatthiasWeb\RealMediaLibrary\general\Assets
Methods summary
public
|
#
enqueue_scripts_and_styles( string $type )
Enqueue scripts and styles depending on the type. This function is called from both admin_enqueue_scripts and wp_enqueue_scripts. You can check the type through the $type parameter. In this function you can include your external libraries from public/lib, too. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
media_view_strings( $strings )
Modify the media view strings for a shortcut hint in the media grid view. This function is also used to return the single string for the note when $strings is false. |
public
|
#
media_row_actions( $actions, $post )
Modify the media view strings for a shortcut hint in the media table view. |
Methods inherited from MatthiasWeb\RealMediaLibrary\base\Assets
enqueueLibraryScript()
,
enqueueLibraryStyle()
,
enqueueScript()
,
enqueueStyle()
,
getCachebusterVersion()
,
getPluginsUrl()
,
getPublicFolder()
,
isScriptDebug()