get_all(); // Handle messages. // phpcs:disable WordPress.Security.NonceVerification.Recommended -- Reading GET parameters to display success messages only $message = ''; $message_type = 'success'; if ( isset( $_GET['created'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $message = __( 'Form created successfully!', 'airy-frontend-forms' ); } elseif ( isset( $_GET['duplicated'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $message = __( 'Form duplicated successfully!', 'airy-frontend-forms' ); } elseif ( isset( $_GET['deleted'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $message = __( 'Form deleted successfully!', 'airy-frontend-forms' ); } elseif ( isset( $_GET['status_changed'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $message = __( 'Form status updated!', 'airy-frontend-forms' ); } elseif ( isset( $_GET['updated'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $message = __( 'Form updated successfully!', 'airy-frontend-forms' ); } // phpcs:enable WordPress.Security.NonceVerification.Recommended ?>


form_name ); ?> [affcf_form id="id ); ?>"] post_type ); echo $post_type_obj ? esc_html( $post_type_obj->labels->singular_name ) : esc_html( $form->post_type ); ?> status ) : ?> created_at ) ) ); ?>