Custom Social Share Email Body
add_filter( ‘wpex_social_share_data_email_body’, function( $body ) { return ‘My custom email body text’; } );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘wpex_social_share_data_email_body’, function( $body ) { return ‘My custom email body text’; } );Continue reading
add_filter( ‘wpex_social_share_data_email_subject’, function() { return ‘My custom subject’; } );Continue reading
add_filter( ‘totaltheme/replace_vars/vars’, function( $vars ) { // Add a new {{my_custom_var}} custom variable. $vars[‘my_custom_var’] = ‘My variable value’; return $vars; } );Continue reading
define( ‘VCEX_CALLBACK_FUNCTION_WHITELIST’, [ ‘my_custom_function_name_1’, ‘my_custom_function_name_2’, ‘my_custom_function_name_3’, ] );Continue reading
add_action( ‘init’, function() { // Disable subheading on product cats add_filter( ‘totaltheme/page/header/has_subheading’, function( $check ) { if ( is_tax( ‘product_cat’ ) ) { $check = false; } return $check; } ); // Display description below loop add_action( ‘wpex_hook_content_bottom’, function( $bool…Continue reading
add_action(‘admin_head’, ‘my_custom_admin_css’); function my_custom_admin_css() { echo ‘ ‘; }Continue reading
add_action(‘admin_head’, ‘my_custom_admin_css’); function my_custom_admin_css() { echo ‘ ‘; }Continue reading
add_filter(‘frm_stripe_payment_method_types’, ‘add_wechat_pay’, 10, 2); function add_wechat_pay( $payment_method_types, $args ) { $form_id = $args[‘form_id’]; $target_form_id = 5; // Change 5 to the ID of your form if ( $target_form_id === $form_id ) { $payment_method_types[] = ‘wechat_pay’; } return $payment_method_types; }Continue reading
add_filter(‘frm_main_feedback’, ‘add_form_outcome_quiz’ , 11, 3); function add_form_quiz_result( $message, $form, $entry_id ) { $target_form_id = 435; //Replace 435 with the ID of the form with the outcome quiz if ( $target_form_id !== (int) $form->id ) { return $message; } $form_id_by_result =…Continue reading
add_filter(‘frm_mark_abandonment_entries_period’, ‘change_cron_job’); function change_cron_job() { return 2; //This is 1 by default and it would increase to 2 by utilizing this hook. }Continue reading