is printed for you. * * @package ajax-filter-search */ defined( 'ABSPATH' ) || exit; $afs_terms = isset( $afs_terms ) ? (array) $afs_terms : array(); $afs_taxonomy = isset( $afs_taxonomy ) ? (string) $afs_taxonomy : ''; $afs_names = array(); if ( '' !== $afs_taxonomy ) { $afs_post_terms = get_the_terms( get_the_ID(), $afs_taxonomy ); if ( $afs_post_terms && ! is_wp_error( $afs_post_terms ) ) { foreach ( $afs_post_terms as $afs_term ) { if ( 'uncategorized' === $afs_term->slug || ( $afs_terms && ! in_array( $afs_term->slug, $afs_terms, true ) ) ) { continue; } $afs_names[] = $afs_term->name; } } } $afs_summary = get_the_selected_excerpt( 200 ); $afs_summary_id = wp_unique_id( 'afs-summary-' ); ?>