From 02383ecac1af08e9acca214ae1998b8a83da0e30 Mon Sep 17 00:00:00 2001 From: James Kemp Date: Mon, 24 Sep 2018 11:54:12 +0100 Subject: [PATCH] Add menu icon and position filters --- wp-settings-framework.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-settings-framework.php b/wp-settings-framework.php index 942f4d3..6766cbd 100644 --- a/wp-settings-framework.php +++ b/wp-settings-framework.php @@ -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 */ @@ -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 ) ); } }