PATH:
home
/
letacommog
/
gdiags.fr
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
config-ui
/
fields
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\ConfigurationUI */ /** * Class WPSEO_Config_Field_Profile_URL_YouTube */ class WPSEO_Config_Field_Profile_URL_Wikipedia extends WPSEO_Config_Field { /** * WPSEO_Config_Field_Profile_URL_YouTube constructor. */ public function __construct() { parent::__construct( 'profileUrlWikipedia', 'Input' ); $this->set_property( 'label', __( 'Wikipedia URL', 'wordpress-seo' ) ); $this->set_property( 'pattern', '^https:\/\/([a-z\-]+)\.wikipedia\.org\/([^/]+)$' ); $this->set_requires( 'publishingEntityType', 'company' ); } /** * Sets the adapter. * * @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on. * * @return void */ public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) { $adapter->add_option_lookup( $this->get_identifier(), 'wikipedia_url' ); } }
[+]
..
[-] class-field-site-type.php
[edit]
[-] class-field-site-name.php
[edit]
[-] class-field-company-or-person.php
[edit]
[-] class-field-multiple-authors.php
[edit]
[-] class-field-profile-url-twitter.php
[edit]
[-] class-field-environment.php
[edit]
[-] class-field-post-type-visibility.php
[edit]
[-] class-field-profile-url-pinterest.php
[edit]
[-] class-field-profile-url-linkedin.php
[edit]
[-] class-field-success-message.php
[edit]
[-] class-field-profile-url-instagram.php
[edit]
[-] class-field-profile-url-youtube.php
[edit]
[-] class-field-separator.php
[edit]
[-] class-field-choice-post-type.php
[edit]
[-] class-field-tracking.php
[edit]
[-] class-field-person.php
[edit]
[-] class-field-profile-url-myspace.php
[edit]
[-] class-field-title-intro.php
[edit]
[-] class-field.php
[edit]
[-] class-field-tracking-intro.php
[edit]
[-] class-field-company-info-missing.php
[edit]
[-] class-field-profile-url-wikipedia.php
[edit]
[-] class-field-company-logo.php
[edit]
[-] class-field-suggestions.php
[edit]
[-] class-field-company-name.php
[edit]
[-] class-field-mailchimp-signup.php
[edit]
[-] class-field-profile-url-facebook.php
[edit]
[-] class-field-choice.php
[edit]