src/two/magictag.php
private function maybe_do_featured( $field, $post ){
		if ( 'post_featured' == $field ) {

			$id = get_post_thumbnail_id( $post->ID );
			if ( 0 < absint( $id ) ) {

				return wp_get_attachment_image( $id, 'large' );
			}

			return '';

		}



	}
private function maybe_do_featured( $field, $post ){
		if ( 'post_featured' == $field ) {

			$id = get_post_thumbnail_id( $post->ID );
			if ( 0 < absint( $id ) ) {

				return wp_get_attachment_image( $id, 'large' );
			}

			return '';

		}



	}
private function maybe_do_featured ( $ field , $ post ) { if ( 'post_featured' == $ field ) { $ id = get_post_thumbnail_id ( $ post -> ID ) ; if ( 0 < absint ( $ id ) ) { return wp_get_attachment_image ( $ id , 'large' ) ; } return '' ; } }
Handle 'post_featured' tags

@since 2.1.0

@param string $field
@param \WP_Post|object $post Post object

@return string|void
Handle post_featured tags