Last updated July 11, 2026, Version 0.34
Filters the taxonomy registration args for a shadow-source post type.
Gives consumers a hook to tweak labels or other registration args for the shadow taxonomy without reimplementing the primitive.
Auto-generated Example
add_filter(
'gatherpress_shadow_taxonomy_args',
function(
array<string, mixed>,
string $post_type
) {
// Your code here.
return mixed>;
},
10,
2
);
Parameters
array<string,mixed>$args The taxonomy registration args.string$post_typeThe shadow-source post type slug.
Files
apply_filters( 'gatherpress_shadow_taxonomy_args', $args, $post_type )