init_metabox(); } } public function init_metabox() { add_action( 'faqs_add_form_fields', array( $this, 'render_metabox' ), 10, 2 ); add_action( 'faqs_edit_form_fields', array( $this, 'render_metabox' ), 10, 2 ); } /* * المنطقة في صفحة اضافة او تعديل فاق لخيارات البحث في تيمبليت الفاق */ public function render_metabox( $post ) { $c = new AFAQCBC_q_a_faq_controls_class(); ?>