Inventory_Presser_Admin_Posts_List::scripts_and_styles()
Enqueues a stylesheet for the list of vehicles in the dashboard.
Return Return
(void)
Source Source
File: includes/admin/class-admin-posts-list.php
public function scripts_and_styles() {
global $pagenow, $post_type;
if ( is_admin() && 'edit.php' === $pagenow && INVP::POST_TYPE === $post_type ) {
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
wp_enqueue_style(
'invp-posts-list',
plugins_url( "/css/posts-list{$min}.css", INVP_PLUGIN_FILE_PATH ),
array(),
INVP_PLUGIN_VERSION
);
}
}
Expand full source codeCollapse full source codeView on Github