Categories::ap_assets_js( array $js )

Description #

Enqueue scripts.

Parameters #

  • $js
    array (Required) JavaScripts.

Changelog #

VersionDescription
1.0Introduced.

Source #

File: addons/categories/categories.php

	public function ap_assets_js( $js ) {
		if ( ap_current_page() === 'category' ) {
			wp_enqueue_script( 'anspress-theme' );
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment