Melapress / wsal-extension-template

This is the main template for all the WP Activity Log plugin extensions. This is used internally by the developers as a "core"to update all the other extensions.

Home Page:https://wpactivitylog.com/extensions/mainwp-activity-log/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible to move even more to the core?

DannyWPWS opened this issue · comments

Just noting something and @martinkrcho discussed earlier - it may be possible to move things like the following filters to the core (taken from bbpress addon for example)

add_filter( 'wsal_event_objects', 'wsal_bbpress_add_custom_event_objects', 10, 2 );
add_filter( 'wsal_link_filter', 'wsal_bbpress_add_custom_meta_format', 10, 2 );
add_filter( 'wsal_meta_formatter_custom_formatter', 'wsal_bbpress_add_custom_meta_format', 10, 2 );

Now we are using an array of values which we pass to the core, this seems feasible so we should look into this in future