| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/class-schema-faq.php.tar |
lebauwcentre/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-faq.php 0000644 00000003476 15114232412 0032421 0 ustar 00 home/xbodynamge <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\FAQ;
/**
* Returns schema FAQ data.
*
* @since 11.3
* @deprecated 14.0
*/
class WPSEO_Schema_FAQ extends WPSEO_Deprecated_Graph_Piece {
/**
* WPSEO_Schema_FAQ constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( FAQ::class );
}
/**
* If this fires, we know there's an FAQ block ont he page, so filter the page type.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $blocks The blocks of this type on the current page.
*/
public function prepare_schema( $blocks ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
}
/**
* Change the page type to an array if it isn't one, include FAQPage.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|string $page_type The page type.
*
* @return array The page type that's now an array.
*/
public function change_schema_page_type( $page_type ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
if ( ! is_array( $page_type ) ) {
$page_type = [ $page_type ];
}
$page_type[] = 'FAQPage';
return $page_type;
}
/**
* Add the Questions in our FAQ blocks as separate pieces to the graph.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $graph Schema data for the current page.
* @param WP_Block_Parser_Block $block The block data array.
* @param WPSEO_Schema_Context $context A value object with context variables.
*
* @return array Our Schema graph.
*/
public function render_schema_questions( $graph, $block, $context ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
return [];
}
}
xbodynamge/www/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-faq.php 0000644 00000003476 15114234517 0030575 0 ustar 00 home <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\FAQ;
/**
* Returns schema FAQ data.
*
* @since 11.3
* @deprecated 14.0
*/
class WPSEO_Schema_FAQ extends WPSEO_Deprecated_Graph_Piece {
/**
* WPSEO_Schema_FAQ constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( FAQ::class );
}
/**
* If this fires, we know there's an FAQ block ont he page, so filter the page type.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $blocks The blocks of this type on the current page.
*/
public function prepare_schema( $blocks ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
}
/**
* Change the page type to an array if it isn't one, include FAQPage.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|string $page_type The page type.
*
* @return array The page type that's now an array.
*/
public function change_schema_page_type( $page_type ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
if ( ! is_array( $page_type ) ) {
$page_type = [ $page_type ];
}
$page_type[] = 'FAQPage';
return $page_type;
}
/**
* Add the Questions in our FAQ blocks as separate pieces to the graph.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $graph Schema data for the current page.
* @param WP_Block_Parser_Block $block The block data array.
* @param WPSEO_Schema_Context $context A value object with context variables.
*
* @return array Our Schema graph.
*/
public function render_schema_questions( $graph, $block, $context ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
return [];
}
}
crosstraining/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-faq.php 0000644 00000003476 15114241450 0032630 0 ustar 00 home/xbodynamge <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\FAQ;
/**
* Returns schema FAQ data.
*
* @since 11.3
* @deprecated 14.0
*/
class WPSEO_Schema_FAQ extends WPSEO_Deprecated_Graph_Piece {
/**
* WPSEO_Schema_FAQ constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( FAQ::class );
}
/**
* If this fires, we know there's an FAQ block ont he page, so filter the page type.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $blocks The blocks of this type on the current page.
*/
public function prepare_schema( $blocks ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
}
/**
* Change the page type to an array if it isn't one, include FAQPage.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|string $page_type The page type.
*
* @return array The page type that's now an array.
*/
public function change_schema_page_type( $page_type ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
if ( ! is_array( $page_type ) ) {
$page_type = [ $page_type ];
}
$page_type[] = 'FAQPage';
return $page_type;
}
/**
* Add the Questions in our FAQ blocks as separate pieces to the graph.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $graph Schema data for the current page.
* @param WP_Block_Parser_Block $block The block data array.
* @param WPSEO_Schema_Context $context A value object with context variables.
*
* @return array Our Schema graph.
*/
public function render_schema_questions( $graph, $block, $context ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
return [];
}
}
namtation/wp-content/plugins/wordpress-seo/src/deprecated/frontend/schema/class-schema-faq.php 0000644 00000003476 15114413676 0031750 0 ustar 00 home/xbodynamge <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Frontend\Schema
*/
use Yoast\WP\SEO\Generators\Schema\FAQ;
/**
* Returns schema FAQ data.
*
* @since 11.3
* @deprecated 14.0
*/
class WPSEO_Schema_FAQ extends WPSEO_Deprecated_Graph_Piece {
/**
* WPSEO_Schema_FAQ constructor.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param null $context The context. No longer used but present for BC.
*/
public function __construct( $context = null ) {
parent::__construct( FAQ::class );
}
/**
* If this fires, we know there's an FAQ block ont he page, so filter the page type.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $blocks The blocks of this type on the current page.
*/
public function prepare_schema( $blocks ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
}
/**
* Change the page type to an array if it isn't one, include FAQPage.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array|string $page_type The page type.
*
* @return array The page type that's now an array.
*/
public function change_schema_page_type( $page_type ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
if ( ! is_array( $page_type ) ) {
$page_type = [ $page_type ];
}
$page_type[] = 'FAQPage';
return $page_type;
}
/**
* Add the Questions in our FAQ blocks as separate pieces to the graph.
*
* @deprecated 14.0
* @codeCoverageIgnore
*
* @param array $graph Schema data for the current page.
* @param WP_Block_Parser_Block $block The block data array.
* @param WPSEO_Schema_Context $context A value object with context variables.
*
* @return array Our Schema graph.
*/
public function render_schema_questions( $graph, $block, $context ) {
_deprecated_function( __METHOD__, 'WPSEO 14.0' );
return [];
}
}