Support » Plugin: WP User Frontend » [Plugin: WP User Frontend] Limit upload featured image only to images

Viewing 2 replies - 1 through 2 (of 2 total)
  • Open the wp-user-frontend/lib/attachment.php file, and change around line 53,
    'filters' => array(array('title' => __( 'Allowed Files' ), 'extensions' => '*')),
    to
    'filters' => array(array('title' => __( 'Allowed Files' ), 'extensions' => 'png,jpg,jpeg,gif')),
    or any other format you want.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP User Frontend] Limit upload featured image only to images’ is closed to new replies.