MP_ContactSettings::register()
Register Style Settings.
Source Source
File: mortgage-platform/Inc/Base/Settings/MP_ContactSettings.php
public function register() {
/**
* Contact filter.
*
* @since 1.0.0
*
* @param array $this->set_fields_contact() {
* @see 'MP_ContactSettings::set_fields_contact()'
* }
*/
$fields_contact = apply_filters( 'mortgage_platform_contact', $this->set_fields_contact() );
$this->register_setting_fields( $fields_contact, 'contact', __( 'Contact Widget Settings', 'mortgage_platform' ), array( $this, 'page_title' ) );
add_filter( MortgagePlatform::$prefix . 'menu', array( $this, 'filter_menu' ), 30 );
add_action( MortgagePlatform::$prefix . 'menu_settings', array( $this, 'filter_settings' ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |