Browse: Home / Hooks /


apply_filters( 'sfwd_cpt_register_tax',  array $taxonomies )

Filters list of taxonomies to be registered.

Description #

Add_filters are currently added during the add_post_type() method in swfd_cpt.php

Parameters #


(array) An array of taxonomy lists to be registered.

Source #

File: includes/class-ld-lms.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for sfwd_cpt_register_tax filter.
	function( $taxonomies ) {
		// May add any custom logic using $taxonomies.

		// Always return $taxonomies.
		return $taxonomies;

Changelog #

Version Description
2.1.0 Introduced.