AnsPress_Category::ap_assets_js( array $js )

Description #

Enqueue scripts.

Parameters #

  • $js
    array (Required) JavaScripts.

Changelog #

VersionDescription
1.0Introduced.

Source #

File: addons/free/category.php

	public static function ap_assets_js( $js ) {
		if ( ap_current_page() === 'category' ) {
			$js['main']['active'] = true;
		}
		return $js;
	}

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