Skip to content

Commit

Permalink
Add menu icon and position filters
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesckemp authored Sep 24, 2018
1 parent 13083cc commit 02383ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wp-settings-framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author Gilbert Pellegrom, James Kemp
* @link https://github.com/gilbitron/WordPress-Settings-Framework
* @version 1.6.7
* @version 1.6.8
* @license MIT
*/

Expand Down Expand Up @@ -189,7 +189,9 @@ public function add_settings_page( $args ) {
$args['menu_title'],
$args['capability'],
$this->settings_page['slug'],
array( $this, 'settings_page_content' )
array( $this, 'settings_page_content' ),
apply_filters( 'wpsf_menu_icon_url_' . $this->option_group, '' ),
apply_filters( 'wpsf_menu_position_' . $this->option_group, null )
);
}
}
Expand Down

0 comments on commit 02383ec

Please sign in to comment.