apply_filters( 'BSF_Admin_Notices_user_cap_check' )

Filters whether the current user passes the capability check for notice dismissal.


Description

Both the legacy and new filter names are fired for backward compatibility. Filters can only restrict access (return false), never grant it — if the underlying current_user_can() check fails, filters cannot override to true.


Source

File: inc/lib/astra-notices/class-bsf-admin-notices.php

View on Trac



User Contributed Notes

You must log in before being able to contribute a note or feedback.