<?php	

// Exit if direct access.
if (!defined ('ABSPATH')) exit;

/**
 * 
 */
class Class_Custom_Css_Panel
{

	protected $menu_slug = "font-farsi-custom-css";
	public $text_domain = "font-farsi";
	#public $plugin_version = 1.1;

	function custom_css_panel_cb() 
	{ ?>
		<div class="wrap">
	<div class="wrap-1">
	<div id="plugin-title">
	<?= __("Font Farsi Version", $this->text_domain); ?> <?= '<strong>'.  FONT_FARSI_VERSION . '</strong>'; ?>
	<hr />
	</div>
	<div id="option-wrap-xx">

		<?php
	// Select CSS Function
	$this->custom_css();
		?>

	</div>
	</div>
	<?php
	}

	protected function custom_css()
	{?>
	<form class="font-farsi-form" method="post" action="options.php"> 

   <?php  settings_errors();?>
   <?php  do_settings_sections( $this->menu_slug);?>
   <?php  settings_fields( 'custom_css_settings_group' );?>
   <?php submit_button(); ?>

	</form>

	   <?php
	}

	// Section Call Back

	function font_farsi_custom_css_section_cb()
	{?>

<textarea name="c_css_textarea" class="codemirror-textarea" id="editor"><?= esc_html( get_option('c_css_textarea') );?>
</textarea>

	<?php
	}


// END CLASS
}










?>