Skip to content

Instantly share code, notes, and snippets.

Created September 17, 2013 22:01
Show Gist options
  • Save anonymous/6601306 to your computer and use it in GitHub Desktop.
Save anonymous/6601306 to your computer and use it in GitHub Desktop.
add_filter( 'tribe-events-bar-filters', 'setup_my_field_in_bar', 1, 1 );
public function setup_my_field_in_bar( $filters ) {
$filters['tribe-bar-my-field'] = array( 'name' => 'tribe-bar-my-field',
'caption' => 'My Field',
'html' => '<input type="text" name="tribe-bar-my-field" id="tribe-bar-my-field">' );
return $filters;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment