/home/techb158/public_html/wp-content/plugins/wordpress-seo/src/helpers
NameSizeModeActions
open-graph/-0755rm
schema/-0755rm
twitter/-0755rm
aioseo-helper.php12660644editdlrm
asset-helper.php25720644editdlrm
attachment-cleanup-helper.php22940644editdlrm
author-archive-helper.php53750644editdlrm
blocks-helper.php23780644editdlrm
capability-helper.php21160644editdlrm
crawl-cleanup-helper.php82940644editdlrm
curl-helper.php6550644editdlrm
current-page-helper.php165120644editdlrm
date-helper.php32080644editdlrm
environment-helper.php7930644editdlrm
first-time-configuration-notice-helper.php54860644editdlrm
home-url-helper.php6810644editdlrm
image-helper.php119720644editdlrm
import-cursor-helper.php13920644editdlrm
import-helper.php7160644editdlrm
indexable-helper.php94590644editdlrm
indexable-to-postmeta-helper.php96300644editdlrm
indexing-helper.php129920644editdlrm
language-helper.php27160644editdlrm
lock-helper.php29080644editdlrm
meta-helper.php29820644editdlrm
notification-helper.php20570644editdlrm
options-helper.php47580644editdlrm
pagination-helper.php58150644editdlrm
permalink-helper.php16410644editdlrm
post-helper.php55530644editdlrm
post-type-helper.php73500644editdlrm
primary-term-helper.php13980644editdlrm
product-helper.php11030644editdlrm
redirect-helper.php17680644editdlrm
require-file-helper.php3260644editdlrm
robots-helper.php17770644editdlrm
robots-txt-helper.php34780644editdlrm
route-helper.php6940644editdlrm
sanitization-helper.php10560644editdlrm
score-icon-helper.php28460644editdlrm
short-link-helper.php36070644editdlrm
site-helper.php5660644editdlrm
social-profiles-helper.php109910644editdlrm
string-helper.php12180644editdlrm
taxonomy-helper.php51000644editdlrm
url-helper.php83240644editdlrm
user-helper.php40260644editdlrm
wincher-helper.php25690644editdlrm
woocommerce-helper.php13020644editdlrm
wordpress-helper.php5120644editdlrm
wpdb-helper.php9370644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/wordpress-seo/src/helpers/options-helper.php (4758B)
get_default( 'wpseo_titles', 'separator' ); // Get the titles option and the separator options. $separator = $this->get( 'separator' ); $seperator_options = $this->get_separator_options(); // This should always be set, but just to be sure. if ( isset( $seperator_options[ $separator ] ) ) { // Set the new replacement. $replacement = $seperator_options[ $separator ]; } elseif ( isset( $seperator_options[ $default ] ) ) { $replacement = $seperator_options[ $default ]; } else { $replacement = \reset( $seperator_options ); } /** * Filter: 'wpseo_replacements_filter_sep' - Allow customization of the separator character(s). * * @param string $replacement The current separator. */ return \apply_filters( 'wpseo_replacements_filter_sep', $replacement ); } /** * Retrieves a default value from the option titles. * * @param string $option_titles_key The key of the option title you wish to get. * * @return string The option title. */ public function get_title_default( $option_titles_key ) { $default_titles = $this->get_title_defaults(); if ( ! empty( $default_titles[ $option_titles_key ] ) ) { return $default_titles[ $option_titles_key ]; } return ''; } /** * Retrieves the default option titles. * * @codeCoverageIgnore We have to write test when this method contains own code. * * @return array The title defaults. */ protected function get_title_defaults() { return WPSEO_Option_Titles::get_instance()->get_defaults(); } /** * Retrieves the tracking only options. * * @codeCoverageIgnore We have to write test when this method contains own code. * * @return string[] The tracking only options. */ public function get_tracking_only_options() { return \array_keys( WPSEO_Option_Tracking_Only::get_instance()->get_defaults() ); } /** * Get the available separator options. * * @return array */ protected function get_separator_options() { return WPSEO_Option_Titles::get_instance()->get_separator_options(); } /** * Checks whether a social URL is valid, with empty strings being valid social URLs. * * @param string $url The url to be checked. * * @return bool Whether the URL is valid. */ public function is_social_url_valid( $url ) { return $url === '' || WPSEO_Option_Social::get_instance()->validate_social_url( $url ); } /** * Checks whether a twitter id is valid, with empty strings being valid twitter id. * * @param string $twitter_id The twitter id to be checked. * * @return bool Whether the twitter id is valid. */ public function is_twitter_id_valid( $twitter_id ) { return empty( $twitter_id ) || WPSEO_Option_Social::get_instance()->validate_twitter_id( $twitter_id, false ); } /** * Gets the limit for the other included pages. * * @return int The limit for the other included pages. */ public function get_other_included_pages_limit() { return WPSEO_Option_Llmstxt::get_instance()->get_other_included_pages_limit(); } }