id = 'template-assistant'; $this->label = __( 'Template Assistant', 'propertyhive' ); add_filter( 'propertyhive_settings_tabs_array', array( $this, 'add_settings_page' ), 17 ); //add_action( 'propertyhive_sections_' . $this->id, array( $this, 'output_sections' ) ); add_action( 'propertyhive_settings_' . $this->id, array( $this, 'output' ) ); } /** * Get general settings array * * @return array */ public function get_settings() { global $hide_save_button; $hide_save_button = true; $settings = array( array( 'title' => __( '', 'propertyhive' ), 'type' => 'title', 'desc' => '', 'id' => 'template_assistant_moved_options' ), ); $html = '

Template Assistant features have moved

We\'re simplifying things by moving the Template Assistant features to new locations within the core plugin.

' . __('Read more', 'propertyhive' ) . '

Search Results

Search Results

Manage various aspects of the search results layout.

' . __( 'Now found in \'Property Hive > Settings > Frontend > Search Results\'.', 'propertyhive') . '

Take me there

Search Forms

Search Forms

Control the fields that appear in search forms.

' . __( 'Now found in \'Property Hive > Settings > Frontend > Search Forms\'.', 'propertyhive') . '

Take me there

Flags

Flags

Display availability and marketing flags over thumbnails.

' . __( 'Now found in \'Property Hive > Settings > Frontend > Flags\'.', 'propertyhive') . '

Take me there

Additional Fields

Additional Fields

Store additional information on records by adding extra fields.

' . __( 'Now found in \'Property Hive > Settings > Field Manager > Additional Fields\'.', 'propertyhive') . '

Take me there

Text Substitution

Text Substitution

Rename text output throughout the frontend and backend.

' . __( 'Now found in \'Property Hive > Settings > General > Text Substitution\'.', 'propertyhive') . '

Take me there


This page and settings tab will be removed completely in a forthcoming version.

'; $settings[] = array( 'type' => 'html', 'title' => '', 'html' => $html, 'full_width' => true ); $settings[] = array( 'type' => 'sectionend', 'id' => 'template_assistant_moved_options'); return $settings; } /** * Output the settings */ public function output() { $settings = $this->get_settings(); PH_Admin_Settings::output_fields( $settings ); } } endif; return new PH_Settings_Template_Assistant();