PATH:
home
/
letacommog
/
ldqm1
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
config-ui
/
fields
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\ConfigurationUI */ /** * Class WPSEO_Config_Field_Choice. */ class WPSEO_Config_Field_Choice extends WPSEO_Config_Field { /** * WPSEO_Config_Field_Choice constructor. * * @param string $field Field name to use. */ public function __construct( $field ) { parent::__construct( $field, 'Choice' ); $this->properties['choices'] = []; } /** * Add a choice to the properties. * * @param string $value Value op the option. * @param string $label Label to display for the value. * @param string $aria_label Optional. Aria label text to use. */ public function add_choice( $value, $label, $aria_label = '' ) { $choice = [ 'label' => $label, ]; if ( $aria_label ) { $choice['screenReaderText'] = $aria_label; } $this->properties['choices'][ $value ] = $choice; } }
[+]
..
[-] class-field-profile-url-linkedin.php
[edit]
[-] class-field-post-type-visibility.php
[edit]
[-] class-field-multiple-authors.php
[edit]
[-] class-field-suggestions.php
[edit]
[-] class-field-choice-post-type.php
[edit]
[-] class-field-choice.php
[edit]
[-] class-field-profile-url-wikipedia.php
[edit]
[-] class-field-company-or-person.php
[edit]
[-] class-field-tracking-intro.php
[edit]
[-] class-field-site-type.php
[edit]
[-] class-field-profile-url-youtube.php
[edit]
[-] class-field-site-name.php
[edit]
[-] class-field-separator.php
[edit]
[-] class-field-company-info-missing.php
[edit]
[-] class-field-environment.php
[edit]
[-] class-field-profile-url-twitter.php
[edit]
[-] class-field-company-name.php
[edit]
[-] class-field-title-intro.php
[edit]
[-] class-field-mailchimp-signup.php
[edit]
[-] class-field-company-logo.php
[edit]
[-] class-field-success-message.php
[edit]
[-] class-field-tracking.php
[edit]
[-] class-field-profile-url-pinterest.php
[edit]
[-] class-field.php
[edit]
[-] class-field-person.php
[edit]
[-] class-field-profile-url-myspace.php
[edit]
[-] class-field-profile-url-instagram.php
[edit]
[-] class-field-profile-url-facebook.php
[edit]