Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created November 15, 2017 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpflippercode/5bf02524caee3d369a2d0c8921d9911c to your computer and use it in GitHub Desktop.
Save wpflippercode/5bf02524caee3d369a2d0c8921d9911c to your computer and use it in GitHub Desktop.
Customize Plugin Settings In JS File
add_filter('agp_current_settings','agp_changed_plugin_settings');
function agp_changed_plugin_settings($settings) {
//Modify Settings According To Custom Conditions.
return $settings;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment