How to remove a meeting type from configuration #1802
TheGreenSourcerer
started this conversation in
General
Replies: 2 comments 6 replies
-
|
Hello Marek, To remove meeting types, you'll want to update your if (function_exists('tsml_custom_types')) {
tsml_custom_types(array(
'BRK' => null,
'TPC' => '',
));
}
Additionally, you can also add new custom meeting types using the same function: if (function_exists('tsml_custom_types')) {
tsml_custom_types(array(
'BRK' => null, // Remove this type
'TPC' => null, // Remove this type
'CUSTOM' => 'Custom Type Name', // Add a new type
));
}You can find the default type keys here https://github.com/code4recovery/12-step-meeting-list/blob/main/includes/variables.php#L768-L818 or in your json feed as well |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm seeking for a safe and recommended way for removing some meeting types from a list of available types. Those are types that are not relevant for the AA groups structure I serve and I was asked to remove some of those (servants who update the meetings list sometimes select them by mistake).
I already do some customisations through functions.php in a child theme, as it was suggested in the documentation.
What's the best way to approach this?
Cheers,
Marek
Beta Was this translation helpful? Give feedback.
All reactions