init_metabox(); } } public function init_metabox() { add_action( 'faqs_edit_form_fields', array( $this, 'render_metabox' ), 1, 1 ); } /* * حقول الي بينعض فيها الشورت كود */ public function render_metabox( $post ) { add_action('admin_footer', array($this, 'Setting_field_js')); ?>