rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,35 @@
<?php
/**
* Schemas Template.
*
* @package Schema Pro
* @since 2.5.0
*/
if ( ! class_exists( 'BSF_AIOSRS_Pro_Schema_Custom_Markup' ) ) {
/**
* AIOSRS Schemas Initialization
*
* @since 2.5.0
*/
class BSF_AIOSRS_Pro_Schema_Custom_Markup {
/**
* Render Schema.
*
* @param array $data Meta Data.
* @param array $post Current Post Array.
* @return array
*/
public static function render( $data, $post ) {
$schema = array();
if ( isset( $data['custom-markup'] ) && ! empty( $data['custom-markup'] ) ) {
$schema['custom-markup'] = $data['custom-markup'];
}
return apply_filters( 'wp_schema_pro_schema_article', $schema, $data, $post );
}
}
}