WP = $theme->getWP(); $this->key = 'core_siteidentity'; $this->name = 'SiteIdentity'; $this->title = 'Site Identity'; $this->description = 'Handles theme frontend core function'; } /** * Sanitize input */ public function sanitize() { /** Grab Data */ $this->params = $_POST; $this->params = $this->params['bingopress_page_404']; /** Sanitize Text Field */ $this->params = (object) $this->WP->sanitizeTextField( $this->params ); } }