ap_category_icon( integer $term_id, string $attributes = '' )

Description #

Output category icon.

Parameters #

  • $term_id
    integer (Required) Term ID.
  • $attributes
    string (Optional) Custom attributes. Default value: ''

Source #

File: includes/taxo.php

function ap_category_icon( $term_id, $attributes = '' ) {
	echo ap_get_category_icon( $term_id, $attributes ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}

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