apply_filters( 'clanbite_team_manage_should_render_section', bool $render, string $section_id, int $team_id, \Kernowdev\Clanbite\Extensions\Teams $extension )Filters whether a section of the front-end team management screen is rendered.
Filter PHP
Parameters
$render(bool)Whether to render the section (default true).
$section_id(string)Section identifier.
$team_id(int)Team post ID.
$extension(\Kernowdev\Clanbite\Extensions\Teams)Teams extension.
Example
add_filter( 'clanbite_team_manage_should_render_section', function ( $render, $section_id, $team_id, $extension ) {
// Change $render here.
return $render;
}, 10, 4 );Defined in inc/extensions/teams/class-extension-teams.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |