Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 7th, 2018 61 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2. // Setting Field with multiple checkboxes
  3. function mamaduka_settings_field() {
  4.         $options = get_option( 'georgian_keyboard_options' );
  5. ?>
  6.     <input name="georgian_keyboard_options[user-element-on-comment]" type="checkbox" id="georgian_keyboard_options[user-element-on-comment]" value="1" <?php checked( 1, $options['user-element-on-comment'] ); ?> />
  7.     <span><?php _e( 'Use Georgian when writing in comment field', 'georgiankeyboard' ); ?></span>
  8.     <br />
  9.     <input name="georgian_keyboard_options[user-element-on-author]" type="checkbox" id="georgian_keyboard_options[user-element-on-author]" value="1" <?php checked( 1, $options['user-element-on-author'] ); ?> />
  10.     <span><?php _e( 'Use Georgian when writing in author field', 'georgiankeyboard' ); ?></span>
  11.     <br />
  12.     <input name="georgian_keyboard_options[user-element-on-search]" type="checkbox" id="georgian_keyboard_options[user-element-on-search]" value="1" <?php checked( 1, $options['user-element-on-search'] ); ?> />
  13.     <span><?php _e( 'Use Georgian when writing in search field', 'georgiankeyboard' ); ?></span>
  14.  
  15. <?php
  16.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top