sfw/register/sfw-department

The code documented on this page is only available in the pro version.

Description

Filters the department taxnonomy before registration

Since: 1.0.0

For further information see: register_taxonomy

Usage

<?php

	function my_sfw_register_sfw_department ( $args ){
		…
		// modify $args here
		…
		return $args;
	}

	add_filter( 'sfw/register/sfw-department', 'my_sfw_register_sfw_department', 10, 1 );

?>

Parameter

$args
(array)

File

pro/core/components/departments/departments-taxonomy.php