public function setSections() { /** * Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples **/ $sampleHTML = ''; if (file_exists(dirname(__FILE__) . '/info-html.html')) { Redux_Functions::initWpFilesystem(); global $wp_filesystem; $sampleHTML = $wp_filesystem->get_contents(dirname(__FILE__) . '/info-html.html'); } // ACTUAL DECLARATION OF SECTIONS $this->sections = array_merge($this->sections, WPMOLY_Settings::get_default_settings()); }