| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/wordpress-seo/admin/taxonomy/ |
Upload File : |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin
*/
/**
* This class parses all the values for the general tab in the Yoast SEO settings metabox.
*/
class WPSEO_Taxonomy_Content_Fields extends WPSEO_Taxonomy_Fields {
/**
* Returns array with the fields for the general tab.
*
* @return array
*/
public function get() {
$fields = array(
'title' => $this->get_field_config(
'',
'',
'hidden',
''
),
'desc' => $this->get_field_config(
'',
'',
'hidden',
''
),
'linkdex' => $this->get_field_config(
'',
'',
'hidden',
''
),
'content_score' => $this->get_field_config(
'',
'',
'hidden',
''
),
'focuskw' => $this->get_field_config(
'',
'',
'hidden',
''
),
);
/**
* Filter: 'wpseo_taxonomy_content_fields' - Adds the possibility to register additional content fields.
*
* @api array - The additional fields.
*/
$additional_fields = apply_filters( 'wpseo_taxonomy_content_fields', array() );
return $this->filter_hidden_fields( array_merge( $fields, $additional_fields ) );
}
}