apply_filters( 'sensei_do_link_to_module', $do_link_to_module, $module, $link_to_current ) → {bool}
Determine if a particular module should be linked to.
Parameters:
Name | Type | Description |
---|---|---|
$do_link_to_module |
bool | True if module should be linked to. |
$module |
WP_Term | Module to check if it should be linked to. |
$link_to_current |
bool | Allow for linking to the currently displayed module. |
- Since:
- 1.10.0
- Source:
Returns:
Filtered value of $do_link_to_module.
- Type
- bool