Skip to content

Conversation

@sanketio
Copy link
Contributor

@sanketio sanketio commented Aug 4, 2025

Description of the Change

This PR introduces a new filter to disable the page row actions this plugin adds.

Closes #220

How to test the Change

  1. Activate this plugin
  2. Add this code into your theme's functions.php file:
add_filter( 'simple_page_ordering_allow_row_actions', '__return_false' );
  1. Check the pages list in admin, and you should not see the page row actions this plugin is adding.

Changelog Entry

Added - New filter simple_page_ordering_allow_row_actions to disallow the new page row actions.

Credits

Props @sanketio

Checklist:

@github-actions github-actions bot added this to the 2.8.0 milestone Aug 4, 2025
@github-actions github-actions bot added the needs:code-review This requires code review. label Aug 4, 2025
@jeffpaul jeffpaul requested review from a team and removed request for jeffpaul August 4, 2025 15:56
Copy link
Contributor

@faisal-alvi faisal-alvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanketio LGTM 👍🏻 Thanks for working on this.

@jeffpaul jeffpaul merged commit 2bbfa6d into develop Aug 11, 2025
14 checks passed
@jeffpaul jeffpaul deleted the feature/220-allow-disallow-page-row-actions branch August 11, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:code-review This requires code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add filter to deactivate custom page row actions

3 participants