Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'cbqe_quick_edit_custom_box_field', array( $this, 'quick_edit_custom_box_field' ), 10, 5 );
public function quick_edit_custom_box_field( $input, $field_type, $field_name, $options, $bulk_mode ) {
$result = '';
switch ( $field_type ) {
case 'date':
$result = '<input type="text" class="datepicker" name="' . $field_name . '" autocomplete="off" />';
break;
}
return $result;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment