wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_post_cats › WordPress Function

Da1.0.1
Deprecato2.1.0
wp_get_post_cats ( $blogid = '1', $post_id = 0 )
Parametri: (2)
  • (int) $blogid Not Used
    Richiesto: No
    Default: '1'
  • (int) $post_id
    Richiesto: No
    Default:
Vedi:
Ritorna:
  • (array)
Definito a:
Codex:

Retrieves a list of post categories.



Sorgenti

function wp_get_post_cats($blogid = '1', $post_id = 0) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'wp_get_post_categories()' );
	return wp_get_post_categories($post_id);
}