FeatureFuel
0

Add-on friendly settings.

Source: wp-media/wp-rocket#9173 · opened by @mindaugasbudreika
Is your feature request related to a problem? Please describe. Currently, it's very hard to add a new tab or section to the WP Rocket settings page. The only options are hacky workarounds. A proper extension point would be very useful both for plugin authors and for sites with custom functionality whose settings naturally belong in WP Rocket's settings. Describe the solution you'd like Three hooks would cover it (the names below are only suggestions): 1. A filter to register a custom tab. By default it could be appended after the existing tabs; a more flexible version would allow inserting it at any position. 2. An action to render the tab content. This could receive the tab ID as an argument, or be a dynamic hook such as rocket_settings_panel_{$tab} so it only fires for that specific tab. 3. An action to save the custom settings. It could receive the submitted data, or developers could read it from $_POST themselves, as long as it fires after WP Rocket's…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests