Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
GravityView - Remove default icons from Maps icon picker
* Removes plugin iconset so that only theme icons remain.
* @param array $icons Associative array of icon URLs with `plugin` and `theme` keys.
add_filter( 'gravityview/maps/available_icons/icons', function( $icons = array() ) {
$icons['plugin'] = array();
return $icons;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment