set_property( 'label', __( 'The name of the person', 'wordpress-seo' ) ); $this->set_requires( 'publishingEntityType', 'person' ); } /** * @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on. */ public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) { $adapter->add_option_lookup( $this->get_identifier(), 'person_name' ); } }