📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 18:35:03
📂
/ (Root)
/
home
/
apkbfjox
/
kattu.com.pk
/
wp-content
/
plugins
/
schema-and-structured-data-for-wp
/
output
📍 /home/apkbfjox/kattu.com.pk/wp-content/plugins/schema-and-structured-data-for-wp/output
🔄 Refresh
✏️
Editing: divi-builder.php
Writable
<?php /** * Output Page * * @author Magazine3 * @category Frontend * @path output/elementor * @version 1.9.24 */ if (! defined('ABSPATH') ) exit; /** * Function to generate schema markup for divi-builder Faq block * @global type $post * @global type $saswp_divi_faq * @return type array */ function saswp_divi_builder_faq_schema() { $input1 = array(); global $post, $saswp_divi_faq; if($saswp_divi_faq){ $input1['@context'] = saswp_context_url(); $input1['@type'] = 'FAQPage'; $input1['@id'] = saswp_get_permalink().'#FAQPage'; $faq_question_arr = array(); foreach( $saswp_divi_faq as $val){ $supply_data = array(); $supply_data['@type'] = 'Question'; $supply_data['name'] = $val['faq_question']; $supply_data['acceptedAnswer']['@type'] = 'Answer'; $supply_data['acceptedAnswer']['text'] = $val['faq_answer']; $faq_question_arr[] = $supply_data; } $input1['mainEntity'] = $faq_question_arr; } return $input1; }
💾 Save Changes
❌ Cancel