Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Plugin Name: Site plugin for tocift.com
- Description: Site specific code for http://184.154.244.76/~tocift07/
- */
- /* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */
- add_action('wp_enqueue_scripts', 'my_autocomplete_off_for_ee_forms', 20);
- function my_autocomplete_off_for_ee_forms(){
- $custom_js = 'jQuery(document).ready(function($){';
- $custom_js .= '$( "input.ee-reg-qstn" ).attr( "autocomplete", "off" );';
- $custom_js .= '});';
- wp_add_inline_script('ee_form_section_validation', $custom_js);
- }
- /* Stop Adding Functions */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement