AnsPress_Tag::get_terms( $terms,  $taxonomies,  $args )

Description #

Source #

File: addons/free/tag.php

	public static function get_terms( $terms, $taxonomies, $args ) {
		if ( isset( $args['ap_tags_query'] ) && $args['ap_tags_query'] == 'num_rows' ) {
			global $tags_rows_found,  $wpdb;

			$tags_rows_found = $wpdb->get_var( apply_filters( 'ap_get_terms_found_rows', 'SELECT FOUND_ROWS()', $terms, $taxonomies, $args ) );
			// wp_cache_set( SELF::cache_key.'_count', SELF::total_count, 'anspress-question-answer' );
		}
		return $terms;
	}

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