Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 7th, 2010  |  syntax: None  |  size: 0.33 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // create the form to add the field for the website
  2. function gwebsite_add_website_form() {
  3.         ?>
  4.         <label for="group-website"><?php _e( 'Website', 'gwebsite' ) ?></label>
  5.         <input type="text" name="group-website" id="group-website" value="" />
  6.  
  7.         <?php
  8.        
  9. }
  10. add_action( 'groups_custom_group_fields_editable', 'gwebsite_add_website_form' );
clone this paste RAW Paste Data