/** * Name: fw_correctBirthdayDateFormat (“fw” indicates “FreeWheelers”) * Desc: For some reason, not currently known, Formidable is displaying dates as YYYY-MM-DD in the date field, when a member is edited * Note: This shouldn’t have to be done **/ add_filter(‘frm_setup_edit_fields_vars’,…Continue reading
/** * Name: fw_updateUserName (“fw” indicates “FreeWheelers”) * Desc: Manually updates the WP username if the user changes her account username **/ add_action(‘frm_after_update_entry’, ‘fw_updateUserName’, 10, 2); function fw_updateUserName( $entry_id, $form_id ) { if ($form_id == MEMBER_REGISTRATION_FORM_ID) { // get the…Continue reading
add_filter( ‘rocket_preconnect_external_domains_optimization’, ‘__return_false’ );Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * WPCode Snippet: Scholar/Student Meta Fields – KIC Enterprises * Description: Additional fields for scholars/students – works WITH General User Meta code * Location: Run Everywhere * Priority: 11 (runs after General User Meta) * Prefix: kic_ for KIC…Continue reading
/** * WPCode Snippet: HR Staff Profile Fields – KIC Enterprises * Description: Comprehensive HR compliance fields for staff members * Location: Run Everywhere * Priority: 12 (runs after General and Scholar/Student) * Prefix: kic_ for KIC Enterprises (portable across…Continue reading
Download “Chess Not Checkers” Make the right move for your business. Discover how to choose the perfect AI provider to enhance your operations. Enter your details below to receive your free copy immediately.Continue reading