render_dashboard_header(); ?>
render_dashboard_tabs(); ?>
render_dashboard_content(); ?>
render_posts_filters(); ?>
render_submit_button(); ?>
render_posts_table( $posts ); ?>
render_pagination(); ?>
get_user_drafts();
?>
render_submit_button(); ?>
render_drafts_list( $drafts ); ?>
get_post_type_counts();
if ( count( $post_type_counts ) > 1 ) :
?>
render_submit_button(); ?>
draft_data, true );
$form_repo = new AFFCF_Form_Repository();
$form = $form_repo->get_by_id( $draft->form_id );
?>
last_saved ), time() ) )
);
?>
render_draft_actions( $draft, $form ) ); ?>
array(
'label' => __( 'Published', 'airy-frontend-forms' ),
'class' => 'success',
),
'pending' => array(
'label' => __( 'Pending Review', 'airy-frontend-forms' ),
'class' => 'warning',
),
'draft' => array(
'label' => __( 'Draft', 'airy-frontend-forms' ),
'class' => 'info',
),
'trash' => array(
'label' => __( 'Trashed', 'airy-frontend-forms' ),
'class' => 'danger',
),
);
$badge = $badges[ $status ] ?? array(
'label' => ucfirst( $status ),
'class' => 'default',
);
return sprintf(
'