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 = '' )
Contents
Parameters Parameters
- $post_id
(Required)
- $tax
(Optional)
Default value: ''
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 ); }
Expand full source code Collapse full source code View on Github