wp-media / adminimize

Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the WordPress backend.
https://wordpress.org/plugins/adminimize/
GNU General Public License v2.0
100 stars 31 forks source link

Add filter to make possibility to force options per site on a multisite and add some custom role column #124

Closed JulietNoth closed 4 years ago

JulietNoth commented 4 years ago

… custom role column

Thanks for contributing to Adminimize — you rock!

Please note:

This pull request fixes issue #.

What's Included in this Pull Request

bueltge commented 4 years ago

Thanks for your PR, great.

JulietNoth commented 4 years ago

Hi Frank, I edited changelog file and wiki to add the new filter hooks. I didn't put my example as I added them to add a new all roles column in adminimize options to allow back end users to check all the row when one option was checked for the all roles column. Let me know if you're interested on this change as I will need to edit adminimize js. If something else is wrong with what I did for this PR, don't hesitate to let me know. I will do what is needed to allow me to add these new filter hooks.

bueltge commented 4 years ago

@JulietNoth Thanks again for your help. I'm really interest on your example, so please add the change to the PR. Please also add a small phpdoc comment to each hook inside the code, like here https://github.com/bueltge/adminimize/blob/e27044bf79cf48fd20ec966a011224d8a50b811f/inc-options/admin_bar.php#L75.