Please add some apply_filters()
-
Hi,
Can you please add some filters instead of directly using current_user_can() function?
For example,
apply_filters( 'em_user_can_edit_events', current_user_can( 'edit_events' ) ); apply_filters( 'em_user_can_edit_recurring_events', current_user_can( 'edit_recurring_events' ) );
Really a great plugin, appreciated.
Thanks
- The topic ‘Please add some apply_filters()’ is closed to new replies.