Forum Replies Created
-
AuthorPosts
-
369cycle
Participantsory this
$term_id = get_queried_object_id(); $value = rwmb_meta( 'wysiwyg001', ['object_type' => 'term'], $term_id ); echo $value;369cycle
ParticipantI need to change the English interface to Chinese interface
October 24, 2023 at 9:46 PM in reply to: ℹ️Google reCaptcha verification code cannot be displayed #43599369cycle
Participant369cycle
Participant03.If there is an email address set on the form to fill in, how can this email also receive the email after filling in the form?
369cycle
Participant01.How can I have this function for a specific form, or can I send it to different mailboxes for different forms?
02.In addition, the letter was successfully sent to "Chinese" instead of "English"!
add_filter( 'rwmb_frontend_field_value_post_id', 'my_custom_population_function', 10, 2 ); function my_custom_population_function( $value, $args ) { if ( $args['id'] === 'date_now' ) { // Only filter for a specific form. $value = 123; } return $value; } add_action( 'rwmb_frontend_after_process', function( $config, $post_id ) { if( !empty( $_GET['rwmb_frontend_field_post_id'] ) ) { wp_mail( '[email protected]','New submission', 'A new post has been just submitted.'); wp_safe_redirect( 'thank-you' ); die; } }, 20, 2 );369cycle
Participant369cycle
Participantadd_action( 'rwmb_frontend_after_process', function( $config, $post_id ) { if ( 'my-meta-box' === $config['id'] ) { wp_mail( '[email protected]', 'New submission', 'A new post has been just submitted.' ); wp_safe_redirect( 'thank-you' ); die; } }, 10, 2 ); do_action( 'rwmb_frontend_after_process', 'date_now', 75 );October 9, 2023 at 11:32 PM in reply to: How to sum the point fields of all arrays, theme php code #43474October 9, 2023 at 11:31 PM in reply to: How to sum the point fields of all arrays, theme php code #43473369cycle
Participant

-
AuthorPosts