| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/theme-titles.php.tar |
home/xbodynamge/www/wp-content/plugins/wordpress-seo/src/integrations/front-end/theme-titles.php 0000644 00000002272 15111476433 0027366 0 ustar 00 <?php
namespace Yoast\WP\SEO\Integrations\Front_End;
use Yoast\WP\SEO\Conditionals\Front_End_Conditional;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Notify the user by giving a deprecated notice.
*/
class Theme_Titles implements Integration_Interface {
/**
* Returns the conditionals based in which this loadable should be active.
*
* @return array
*/
public static function get_conditionals() {
return [ Front_End_Conditional::class ];
}
/**
* Initializes the integration.
*
* This is the place to register hooks and filters.
*
* @return void
*/
public function register_hooks() {
\add_filter( 'thematic_doctitle', [ $this, 'title' ], 15 );
\add_filter( 'woo_title', [ $this, 'title' ], 99 );
}
/**
* Filters the title for woo_title and the thematic_doctitle.
*
* @deprecated 14.0
*
* @codeCoverageIgnore
*
* @param string $title The title.
*
* @return string The title.
*/
public function title( $title ) {
\_deprecated_function(
__METHOD__,
'WPSEO 14.0',
\esc_html__(
'a theme that has proper title-tag theme support, or adapt your theme to have that support',
'wordpress-seo'
)
);
return $title;
}
}
crosstraining/wp-content/plugins/wordpress-seo/src/integrations/front-end/theme-titles.php 0000644 00000002272 15114411643 0031343 0 ustar 00 home/xbodynamge <?php
namespace Yoast\WP\SEO\Integrations\Front_End;
use Yoast\WP\SEO\Conditionals\Front_End_Conditional;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Notify the user by giving a deprecated notice.
*/
class Theme_Titles implements Integration_Interface {
/**
* Returns the conditionals based in which this loadable should be active.
*
* @return array
*/
public static function get_conditionals() {
return [ Front_End_Conditional::class ];
}
/**
* Initializes the integration.
*
* This is the place to register hooks and filters.
*
* @return void
*/
public function register_hooks() {
\add_filter( 'thematic_doctitle', [ $this, 'title' ], 15 );
\add_filter( 'woo_title', [ $this, 'title' ], 99 );
}
/**
* Filters the title for woo_title and the thematic_doctitle.
*
* @deprecated 14.0
*
* @codeCoverageIgnore
*
* @param string $title The title.
*
* @return string The title.
*/
public function title( $title ) {
\_deprecated_function(
__METHOD__,
'WPSEO 14.0',
\esc_html__(
'a theme that has proper title-tag theme support, or adapt your theme to have that support',
'wordpress-seo'
)
);
return $title;
}
}
xbodynamge/namtation/wp-content/plugins/wordpress-seo/src/integrations/front-end/theme-titles.php 0000644 00000002272 15114436731 0030455 0 ustar 00 home <?php
namespace Yoast\WP\SEO\Integrations\Front_End;
use Yoast\WP\SEO\Conditionals\Front_End_Conditional;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Notify the user by giving a deprecated notice.
*/
class Theme_Titles implements Integration_Interface {
/**
* Returns the conditionals based in which this loadable should be active.
*
* @return array
*/
public static function get_conditionals() {
return [ Front_End_Conditional::class ];
}
/**
* Initializes the integration.
*
* This is the place to register hooks and filters.
*
* @return void
*/
public function register_hooks() {
\add_filter( 'thematic_doctitle', [ $this, 'title' ], 15 );
\add_filter( 'woo_title', [ $this, 'title' ], 99 );
}
/**
* Filters the title for woo_title and the thematic_doctitle.
*
* @deprecated 14.0
*
* @codeCoverageIgnore
*
* @param string $title The title.
*
* @return string The title.
*/
public function title( $title ) {
\_deprecated_function(
__METHOD__,
'WPSEO 14.0',
\esc_html__(
'a theme that has proper title-tag theme support, or adapt your theme to have that support',
'wordpress-seo'
)
);
return $title;
}
}
xbodynamge/lebauwcentre/wp-content/plugins/wordpress-seo/src/integrations/front-end/theme-titles.php0000644 00000002272 15114451162 0031136 0 ustar 00 home <?php
namespace Yoast\WP\SEO\Integrations\Front_End;
use Yoast\WP\SEO\Conditionals\Front_End_Conditional;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Notify the user by giving a deprecated notice.
*/
class Theme_Titles implements Integration_Interface {
/**
* Returns the conditionals based in which this loadable should be active.
*
* @return array
*/
public static function get_conditionals() {
return [ Front_End_Conditional::class ];
}
/**
* Initializes the integration.
*
* This is the place to register hooks and filters.
*
* @return void
*/
public function register_hooks() {
\add_filter( 'thematic_doctitle', [ $this, 'title' ], 15 );
\add_filter( 'woo_title', [ $this, 'title' ], 99 );
}
/**
* Filters the title for woo_title and the thematic_doctitle.
*
* @deprecated 14.0
*
* @codeCoverageIgnore
*
* @param string $title The title.
*
* @return string The title.
*/
public function title( $title ) {
\_deprecated_function(
__METHOD__,
'WPSEO 14.0',
\esc_html__(
'a theme that has proper title-tag theme support, or adapt your theme to have that support',
'wordpress-seo'
)
);
return $title;
}
}