Created
April 16, 2019 22:29
-
-
Save carmoreira/b919cc69ccea027e000bb34fc51c9108 to your computer and use it in GitHub Desktop.
change capability in Interactive World Maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'i_world_map_capability', 'my_custom_capability' ); | |
| function my_custom_capability() { | |
| return 'manage_options'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment