| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/class-schema-article.php.tar |
www/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-article.php 0000644 00000002246 15111477150 0031442 0 ustar 00 home/xbodynamge <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\Article;
/**
* Returns schema Article data.
*
* @since 10.2
* @deprecated 14.0
*/
class WPSEO_Schema_Article extends WPSEO_Deprecated_Graph_Piece {
/**
* The date helper.
*
* @var WPSEO_Date_Helper
*/
protected $date;
/**
* WPSEO_Schema_Article constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( Article::class );
$this->date = new WPSEO_Date_Helper();
}
/**
* Determines whether a given post type should have Article schema.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param string|null $post_type Post type to check.
*
* @return bool True if it has article schema, false if not.
*/
public static function is_article_post_type( $post_type = null ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0', 'YoastSEO()->helpers->schema->article->is_article_post_type' );
return YoastSEO()->helpers->schema->article->is_article_post_type( $post_type );
}
}
wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-article.php 0000644 00000002246 15114241751 0033275 0 ustar 00 home/xbodynamge/lebauwcentre <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\Article;
/**
* Returns schema Article data.
*
* @since 10.2
* @deprecated 14.0
*/
class WPSEO_Schema_Article extends WPSEO_Deprecated_Graph_Piece {
/**
* The date helper.
*
* @var WPSEO_Date_Helper
*/
protected $date;
/**
* WPSEO_Schema_Article constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( Article::class );
$this->date = new WPSEO_Date_Helper();
}
/**
* Determines whether a given post type should have Article schema.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param string|null $post_type Post type to check.
*
* @return bool True if it has article schema, false if not.
*/
public static function is_article_post_type( $post_type = null ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0', 'YoastSEO()->helpers->schema->article->is_article_post_type' );
return YoastSEO()->helpers->schema->article->is_article_post_type( $post_type );
}
}
namtation/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-article.php 0000644 00000002246 15114414733 0032611 0 ustar 00 home/xbodynamge <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\Article;
/**
* Returns schema Article data.
*
* @since 10.2
* @deprecated 14.0
*/
class WPSEO_Schema_Article extends WPSEO_Deprecated_Graph_Piece {
/**
* The date helper.
*
* @var WPSEO_Date_Helper
*/
protected $date;
/**
* WPSEO_Schema_Article constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( Article::class );
$this->date = new WPSEO_Date_Helper();
}
/**
* Determines whether a given post type should have Article schema.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param string|null $post_type Post type to check.
*
* @return bool True if it has article schema, false if not.
*/
public static function is_article_post_type( $post_type = null ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0', 'YoastSEO()->helpers->schema->article->is_article_post_type' );
return YoastSEO()->helpers->schema->article->is_article_post_type( $post_type );
}
}
wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-article.php 0000644 00000002246 15114566565 0033517 0 ustar 00 home/xbodynamge/crosstraining <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\Article;
/**
* Returns schema Article data.
*
* @since 10.2
* @deprecated 14.0
*/
class WPSEO_Schema_Article extends WPSEO_Deprecated_Graph_Piece {
/**
* The date helper.
*
* @var WPSEO_Date_Helper
*/
protected $date;
/**
* WPSEO_Schema_Article constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( Article::class );
$this->date = new WPSEO_Date_Helper();
}
/**
* Determines whether a given post type should have Article schema.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param string|null $post_type Post type to check.
*
* @return bool True if it has article schema, false if not.
*/
public static function is_article_post_type( $post_type = null ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0', 'YoastSEO()->helpers->schema->article->is_article_post_type' );
return YoastSEO()->helpers->schema->article->is_article_post_type( $post_type );
}
}