All /

Restrict Authors to View Only Their Own A/B Tests (Admin Only)

If you'd like to limit authors or other non-editor users to only see their own A/B tests in the WordPress admin, you can enable a built-in filter.

This doesn't affect how tests run on your site. It only changes what users can see in the admin dashboard.

To restrict non-editors (like authors) from seeing other users’ A/B tests in the admin area, use the following filter:

 

add_filter('abst_authors_see_own_posts', '__return_true');

 

This limits visibility in the WordPress admin only. It does not affect how tests run on the front end.

Leave a Comment

You must be logged in to post a comment.