HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/themes/splash-child/wpuf/dokan/new-post.php
<?php 

$access   	   = dokan_get_option( 'allow_wpuf_post', 'dokan_general' );
$selected_form = dokan_get_option( 'wpuf_post_forms', 'dokan_general' );

if ( $access != 'on' ) {
	echo __( 'You are not allowed to submit post. Please contact admin', 'wp-user-frontend' );
}else {
	echo do_shortcode( '[wpuf_form id="' . $selected_form . '"]' ); 
}