I am raw html block.
Click edit button to change this html
add_action("vsz_cf7_display_settings_btn","vsz_cf7_display_settings_btn_callback",10,1);
function vsz_cf7_display_settings_btn_callback($fid){
// Your custom coding here
}
vsz_cf7_after_datesection_btn
Parameters : $fid
Using this action,you can add custom coding after date section in listing screen.
add_action("vsz_cf7_after_datesection_btn","vsz_cf7_after_datesection_btn_callback",10,1);
function vsz_cf7_after_datesection_btn_callback($fid){
// Your custom coding here
}
vsz_cf7_after_bulkaction_btn
Parameters : $fid
Using this action,you can add custom coding after bulk action section in listing screen.
add_action("vsz_cf7_after_bulkaction_btn","vsz_cf7_after_bulkaction_btn_callback",10,1);
function vsz_cf7_after_bulkaction_btn_callback($fid){
// Your custom coding here
}
vsz_cf7_admin_after_heading_field
Parameters : -
Using this action,you can display table header in edit column.
add_action("vsz_cf7_admin_after_heading_field","vsz_cf7_admin_after_heading_field_callback",10);
function vsz_cf7_admin_after_heading_field_callback(){
// Your custom coding here
}
vsz_cf7_admin_after_body_field
Parameters : $fid, $row_id
Using this action, you can add custom coding before edit icon.
add_action("vsz_cf7_admin_after_body_field","vsz_cf7_admin_after_body_field_callback",10,2);
function vsz_cf7_admin_after_body_field_callback($fid,$row_id){
// Your custom coding here
}
vsz_cf7_after_admin_form
Parameters : $fid
Using this action, you can add custom coding after whole form.
add_action("vsz_cf7_after_admin_form","vsz_cf7_after_admin_form_callback",10,1);
function vsz_cf7_after_admin_form_callback($fid){
// Your custom coding here
}
vsz_cf7_before_insert_db
Parameters : $contact_form
Using this action, you can customize form data before insert in data base.
add_action("vsz_cf7_before_insert_db","vsz_cf7_before_insert_db_callback",10,1);
function vsz_cf7_before_insert_db_callback($contact_form){
// Your custom coding here
}
vsz_cf7_after_insert_db
Parameters : $contact_form, $cf7_id, $data_id
Using this action, you can customize process after insert value in data base.
add_action("vsz_cf7_after_insert_db","vsz_cf7_after_insert_db_callback",10,3);
function vsz_cf7_after_insert_db_callback($fid,$cf7_id,$data_id){
// Your custom coding here
}
Filters
vsz_cf7_entry_order_by
Parameters : String
You can change the order of fields using this filter.
add_filter("vsz_cf7_entry_order_by","vsz_cf7_entry_order_by_callback",10,1);
function vsz_cf7_entry_order_by_callback($order){
// Your custom coding here
return $order;
}
vsz_cf7_entry_per_page
Parameters : Integer (Default: 10)
You can change the number of entries per page using this filter.
add_filter("vsz_cf7_entry_per_page","vsz_cf7_entry_per_page_callback",10,1);
function vsz_cf7_entry_per_page_callback($num){
// Your custom coding here
return $num;
}
vsz_display_character_count
Parameters : Integer (Default: 30)
This filter defines how many characters will be displayed in listing screen. You can change the number of characters displayed using this filter.
add_filter("vsz_display_character_count","vsz_display_character_count_callback",10,1);
function vsz_display_character_count_callback($count){
// Your custom coding here
return $count;
}
vsz_cf7_not_editable_fields
Parameters : Array
You can change non editable fields list using this filter.
add_filter("vsz_cf7_not_editable_fields","vsz_cf7_not_editable_fields_callback",10,1);
function vsz_cf7_not_editable_fields_callback($arr){
// Your custom coding here
return $arr;
}
vsz_cf7_entry_actions
Parameters : Array
You can add/remove any option for "Bulk Action" in listing screen.
add_filter("vsz_cf7_entry_actions","vsz_cf7_entry_actions_callback",10,1);
function vsz_cf7_entry_actions_callback($arr){
// Your custom coding here
return $arr;
}
vsz_cf7_import_date_format
Parameters : -
You can change the date format to import functionality with this filter.
add_filter("vsz_cf7_import_date_format","vsz_cf7_import_date_format_callback",10);
function vsz_cf7_import_date_format_callback(){
// Your custom coding here
$format = "Y-m-d";
return $format;
}
vsz_cf7_unwanted_form_data_submission
Parameters : Array
You can exclude contact form ids using this filter and those form entries won't be inserted in advanced contact form database.
add_filter("vsz_cf7_unwanted_form_data_submission","vsz_cf7_unwanted_form_data_submission_callback",10,1);
function vsz_cf7_unwanted_form_data_submission_callback($arr){
// Your custom coding here
return $arr;
}
vsz_cf7_modify_form_before_insert_data
Parameters : $contact_form
You can change the entry data before it saved to database.
add_filter("vsz_cf7_modify_form_before_insert_data","vsz_cf7_modify_form_before_insert_data_callback",10,1);
function vsz_cf7_modify_form_before_insert_data_callback($contact_form){
// Your custom coding here
return $contact_form;
}
vsz_cf7_posted_data
Parameters : $posted_data
This filter provided to the users to modify the data.Below is the process that can be performed
1) Add new data to the CF7 Form
2) Can modify the existing form submitted data
3) Can unset or remove the existing form data of CF7
add_filter("vsz_cf7_posted_data","vsz_cf7_posted_data_callback",10,1);
function vsz_cf7_posted_data_callback($posted_data){
// Your custom coding here
return $posted_data;
}
vsz_cf7_no_save_fields
Parameters : Array
You can exclude contact form ids using this filter and those form field's entry won't be inserted in advanced contact form database.
add_filter("vsz_cf7_no_save_fields","vsz_cf7_no_save_fields_callback",10,1);
function vsz_cf7_no_save_fields_callback($arr){
// Your custom coding here
return $arr;
}
cf7d_entry_value
Parameters : Value,Key
You can modify specific field value using this filter.
add_filter("cf7d_entry_value","cf7d_entry_value_callback",10,2);
function cf7d_entry_value_callback($val,$key){
// Your custom coding here
return $val;
}
vsz_cf7_admin_fields
Parameters : Fields, fid
You can modify fields displaying in listing screen using this filter.
add_filter("vsz_cf7_admin_fields","vsz_cf7_admin_fields_callback",10,2);
function vsz_cf7_admin_fields_callback($fields,$fid){
// Your custom coding here
return $fields;
}
vsz_cf7_get_current_action
Parameters : $current_action
If you have added additional option in "Bulk Actions", then you need to do custom coding for that additional option over here.
add_filter("vsz_cf7_get_current_action","vsz_cf7_get_current_action_callback",10,1);
function vsz_cf7_get_current_action_callback($current_action){
// Your custom coding here
return $current_action;
}