MP_DashboardSettings::register()

Register Style Settings.

Contents


Source Source

File: mortgage-platform/Inc/Base/Settings/MP_DashboardSettings.php

	public function register() {

		/**
		 * Dashboard filter.
		 *
		 * @since 1.0.0
		 *
		 * @param array $this->set_fields_dashboard() {
		 *      @see    'MP_DashboardSettings::set_fields_dashboard()'
		 * }
		 */
		$fields_style = apply_filters( 'mortgage_platform_dashboard', $this->set_fields_dashboard() );

		$this->register_setting_fields( $fields_style, 'dashboard', __( 'Dashboard Settings', 'mortgage_platform' ), array( $this, 'page_title' ) );

		add_filter( MortgagePlatform::$prefix . 'menu', array( $this, 'filter_menu' ), 25 );
		add_action( MortgagePlatform::$prefix . 'menu_settings', array( $this, 'filter_settings' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.