', esc_attr( __( 'Save', '3cx-webinar' ) ), $onclick ); $onclick = sprintf( "this.form._wpnonce.value = '%s';" . " this.form.action.value = 'clear_cache';" . " return true;", $nonce ); $button .= sprintf( ' ', esc_attr( __( 'Clear Cache', '3cx-webinar' ) ), $onclick ); $onclick = sprintf( "this.form._wpnonce.value = '%s';" . " this.form.action.value = 'test_api';" . " return true;", $nonce ); $button .= sprintf( ' ', esc_attr( __( 'Test API Request', '3cx-webinar' ) ), $onclick ); echo $button; } ?>

initial() ) { echo esc_html( __( 'Add New Webinar Form', '3cx-webinar' ) ); } else { echo esc_html( __( 'Edit Webinar Form', '3cx-webinar' ) ); } ?>

initial() && current_user_can( 'wp3cxw_edit_webinar_forms' ) ) { echo sprintf( '%2$s', esc_url( menu_page_url( 'wp3cxw-new', false ) ), esc_html( __( 'Add New', '3cx-webinar' ) ) ); } ?>
>
'text', 'name' => 'post_title', 'size' => 30, 'value' => $post->initial() ? '' : $post->title(), 'id' => 'title', 'spellcheck' => 'true', 'autocomplete' => 'off', 'disabled' => current_user_can( 'wp3cxw_edit_webinar_form', $post_id ) ? '' : 'disabled', ); echo sprintf( '', wp3cxw_format_atts( $posttitle_atts ) ); ?>
initial() ) : ?>

array( 'title' => __( 'Configuration', '3cx-webinar' ), 'callback' => 'wp3cxw_editor_panel_config', ) ); } $panels = apply_filters( 'wp3cxw_editor_panels', $panels ); foreach ( $panels as $id => $panel ) { $editor->add_panel( $id, $panel['title'], $panel['callback'] ); } $editor->display(); ?>