Extra Content

add_filter( ‘frm_filtered_lookup_options’, ‘change_lookup_options’, 10, 2 ); function change_lookup_options( $options, $args ) { if ( $args[‘field’]->id == 478 ) { // change 25 to the id of the field in the other form foreach ( $options as $k => $option )…Continue reading

Log – Two Fields Dynamic User

add_filter(‘frm_setup_new_fields_vars’, ‘customize_dfe’, 25, 2); function customize_dfe( $values, $field ) { if ( $field->id == 819 && !empty( $values[‘options’] ) ){//Replace 125 with the ID of your dynamic field $temp_values = $values; $temp_values[‘form_select’] = 478; //change 30 to the id of…Continue reading

MemberPress: Change Email Subject in Bulk

function mepr_change_subject($subject, $recipients, $message, $headers) { if (strpos(strtolower($subject), ‘your new password’) !== false) { $subject = ‘Your New Password on yourdomain.com’; } return $subject; } add_filter(‘mepr-wp-mail-subject’, ‘mepr_change_subject’, 10, 4);Continue reading

MemberPress: Add Custom Field to Transactions Table

function custom_admin_transaction_col($cols) { $cols[‘col_business_name’] = __(‘Business Name’, ‘memberpress’); return $cols; } add_filter(‘mepr-admin-transactions-cols’, ‘custom_admin_transaction_col’); function custom_admin_transaction_col_sort($cols) { $cols[‘col_business_name’] = array(‘business_name’, true); return $cols; } add_filter(‘mepr-admin-transactions-sortable-cols’, ‘custom_admin_transaction_col_sort’); function custom_admin_transaction_col_content($column_name, $rec, $attributes) { if($column_name == ‘col_business_name’) { $user = get_user_by(‘login’, $rec->user_login); $business_name =…Continue reading

Envira Woocommerce – Customizing Woocommerce Galleries

/* Customize Envira Woocommerce Galleries * * @link https://enviragallery.com/docs/how-to-customize-woocommerce-envira-galleries/ */ //To change the add to cart item name and thumbnail (product name from Woo) add_filter( ‘woocommerce_store_api_cart_item_images’, function ($product_images, $cart_item, $cart_item_key) { if ( !isset( $cart_item[‘envira_woocommerce_image_title’] ) ) { return $product_images;…Continue reading

FlowMattic to IKS-Stream Rebranding & UI Tweaks

/** * Author: Sumaiya, Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-23735 * Description: This snippet changes all instances of “Flow Mattic” to “IKS-Stream” throughout the WordPress admin area and frontend, * including titles, headings, and paragraph text. Additionally, it hides the Flow Mattic logos…Continue reading