MP_StyleSettings::register()
Register Style Settings.
Source Source
File: mortgage-platform/Inc/Base/Settings/MP_StyleSettings.php
public function register() {
/**
* Style settings filter.
*
* @since 1.0.0
*
* @param array $this->set_fields_style() {
* @see 'MP_StyleSettings::set_fields_style()'
* }
*/
$fields_style = apply_filters( 'mortgage_platform_style', $this->set_fields_style() );
$this->register_setting_fields( $fields_style, 'style', __( 'Style 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' ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |