I'm trying to merge UM extension public notices with the core plugins public notices but the filter does not make changes to the original array. It is probably to do with the order of execution. We can display a list of filter hooks already.
Someone needs to go through the list and establish where and when to run filtering in the TwitchPress_Public_Notices class. It could just be a case of moving the apply_filters() out of the construct and doing it later in the execution of the plugin.
My temporary solution is to add the UM extension notices to the core notice array. This is not a massive problem because it's all under my control but I would like the system to be truly extensible in all ways.
I'm trying to merge UM extension public notices with the core plugins public notices but the filter does not make changes to the original array. It is probably to do with the order of execution. We can display a list of filter hooks already.
Someone needs to go through the list and establish where and when to run filtering in the TwitchPress_Public_Notices class. It could just be a case of moving the apply_filters() out of the construct and doing it later in the execution of the plugin.
My temporary solution is to add the UM extension notices to the core notice array. This is not a massive problem because it's all under my control but I would like the system to be truly extensible in all ways.