*/ public static function all(): array { $tags = array( array( 'tag' => 'is_front_page', 'label' => __( 'Is the site\'s front page', 'acez-seo' ) ), array( 'tag' => 'has_post_thumbnail', 'label' => __( 'Has a featured image', 'acez-seo' ) ), array( 'tag' => 'comments_open', 'label' => __( 'Comments are open', 'acez-seo' ) ), ); /** * Filters the list of conditional-tag location rules offered in the * admin UI. Developers can also register entirely custom rule types * (not limited to this allowlist) via the `acez_seo_location_rule` * filter in RuleFactory. * * @param array $tags */ return (array) apply_filters( 'acez_seo_conditional_tags', $tags ); } }