MP_EmailSettings::filter_settings()
Add Setting Fields.
Contents
Description Description
See also See also
Source Source
File: mortgage-platform/Inc/Base/Settings/MP_EmailSettings.php
public function filter_settings() {
global $pagenow;
if ( isset( $_GET['tab'] ) ) {
if ( 'admin.php' === $pagenow && MortgagePlatform::$domain === $_GET['page'] ) {
if ( 'email' === $_GET['tab'] ) {
?>
<div class="mp-settings__content tab-pane email">
<form action="options.php" method="POST">
<?php
settings_fields( MortgagePlatform::$prefix . 'settings_email' );
do_settings_sections( MortgagePlatform::$prefix . 'email' );
submit_button()
?>
</form>
</div>
<?php
}
}
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |