ap_category_image( integer $term_id, integer $height = 32 )

Description #

Output category image.

Parameters #

  • $term_id
    integer (Required) Category ID.
  • $height
    integer (Optional) image height, without PX. Default value: 32

Source #

File: includes/taxo.php

function ap_category_image( $term_id, $height = 32 ) {
	echo ap_get_category_image( $term_id, $height ); // 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