acf/include_taxonomies
Fires during initialization. Used to add local taxonomies.
Usage
add_action( 'acf/include_taxonomies', 'wp_kama_acf_include_taxonomies_action' );
/**
* Function for `acf/include_taxonomies` action-hook.
*
* @param int $ACF_MAJOR_VERSION ACF_MAJOR_VERSION The major version of ACF.
*
* @return void
*/
function wp_kama_acf_include_taxonomies_action( $ACF_MAJOR_VERSION ){
// action...
}
- $ACF_MAJOR_VERSION(int)
- ACF_MAJOR_VERSION The major version of ACF.
Changelog
| Since 6.1 | Introduced. |
Where the hook is called
acf/include_taxonomies
acf/acf.php 471
do_action( 'acf/include_taxonomies', ACF_MAJOR_VERSION );
Where the hook is used in Advanced Custom Fields PRO
acf/includes/local-json.php 67
add_action( 'acf/include_taxonomies', array( $this, 'include_taxonomies' ) );