get_post_taxonomies

Advertisement

Summery Summery

Retrieve all taxonomy names for the given post.

Syntax Syntax

get_post_taxonomies( int|WP_Post $post )

Parameters Parameters

$post

(Optional) Post ID or WP_Post object. Default is global $post.

Return Return

(string[]) An array of all taxonomy names for the given post.

Source Source

File: wp-includes/taxonomy.php

	/**
	 * Filters the term link.
	 *
	 * @since 2.5.0

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply