ap_enqueue_scripts()
Description #
Enqueue AnsPress assets.
Source #
File: includes/theme.php
function ap_enqueue_scripts() { if ( ap_current_page() !== '' ) { wp_enqueue_script( 'anspress-theme' ); } wp_enqueue_style( 'anspress-main' ); if ( is_rtl() ) { wp_enqueue_style( 'anspress-rtl' ); } }
Expand full source code Collapse full source code View on GitHub: includes/theme.php:672
Add your comment