n $input; } // render email to customer message (approve) public function render_email_customer_approve_message() { $value = get_option( 'wbk_email_customer_approve_message', '

Your appointment bookin on #appointment_day at #appointment_time has been approved.

' ); $args = array( 'media_buttons' => false, 'editor_height' => 300, ); echo '' . __( 'Toggle editor', 'wbk' ) . '' ; } // validate email to customer message (approve) public function validate_email_customer_approve_message( $input ) { return $input; } // render customer email subject (on booking) public function render_email_customer_book_subject() { $value = get_option( 'wbk_email_customer_book_subject' ); $value = sanitize_text_field( $value ); $html = ''; $html .= '

' . __( 'List of available placeholders', 'wbk' ) . '

'; echo $html ; } // validate email to customer message (on booking) public function validate_email_customer_book_subject( $input ) { $input = sanitize_text_field( $input ); return $input; } public function render_email_customer_manual_book_subject() { $value = get_option( 'wbk_email_customer_manual_book_subject' ); $value = sanitize_text_field( $value ); $html = ''; $html .= '

' . __( 'List of available placeholders', 'wbk' ) . '

'; echo $html ; } // validate email to customer message (on booking) public function validate_email_customer_manual_book_subject( $input ) { $input = sanitize_text_field( $input ); return $input; } // render customer email subject (on approve) public function render_email_customer_approve_subject() { $value = get_option( 'wbk_email_customer_approve_subject', __( 'Your booking has been approved', 'wbk' ) ); $value = sanitize_text_field( $value ); $html = ''; $html .= '

' . __( 'List of available placeholders', 'wbk' ) . '

'; echo $html ; } // validate email to customer message (on approve) public function validate_email_customer_approve_subject( $input ) { $input = sanitize_text_field( $input ); return $input; } // render email to secondary public function render_email_secondary_book_status() { $value = get_option( 'wbk_email_secondary_book_status', '' ); $html = ''; $html .= '