8889841cSettings.php000064400000003121150441754700007061 0ustar00register_owned_keys(); // Backwards compatibility with previous dedicated option. add_filter( 'default_option_' . self::OPTION, function ( $default ) { $default['propertyID'] = $this->options->get( 'googlesitekit_search_console_property' ) ?: ''; return $default; } ); } /** * Gets the default value. * * @since 1.3.0 * * @return array */ protected function get_default() { return array( 'propertyID' => '', 'ownerID' => '', ); } /** * Returns keys for owned settings. * * @since 1.31.0 * * @return array An array of keys for owned settings. */ public function get_owned_keys() { return array( 'propertyID', ); } }