post_status ) :
case 'publish' :
echo '
' . wp_kses_post(
sprintf(
// translators: %1$s is the job listing post type name, %2$s is the job listing URL.
__( '%1$s listed successfully. To view your listing
click here.', 'wp-job-manager' ),
esc_html( $wp_post_types['job_listing']->labels->singular_name ),
get_permalink( $job->ID )
)
) . '
';
break;
case 'pending' :
echo '' . wp_kses_post(
sprintf(
// translators: Placeholder %s is the job listing post type name.
esc_html__( '%s submitted successfully. Your listing will be visible once approved.', 'wp-job-manager' ),
esc_html( $wp_post_types['job_listing']->labels->singular_name )
)
) . '
';
break;
default :
do_action( 'job_manager_job_submitted_content_' . str_replace( '-', '_', sanitize_title( $job->post_status ) ), $job );
break;
endswitch;
do_action( 'job_manager_job_submitted_content_after', sanitize_title( $job->post_status ), $job );