Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WP_USERCREATESPOST::get_taxonomy( $post_id,  $tax = '' )


Parameters Parameters

$post_id

(Required)

$tax

(Optional)

Default value: ''


Top ↑

Return Return

(array|WP_Error)


Source Source

File: src/integrations/wp/triggers/wp-usercreatespost.php

	private function get_taxonomy( $post_id, $tax = '' ) {
		return wp_get_post_terms( $post_id, $tax );
	}