• Resolved milettic

    (@milettic)


    Everyone who registers to my website have permission to upload a new video. How can I disable this option?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    1. Open /wp-content/plugins/all-in-one-video-gallery/admin/videos.php

    2. Search for
    $args['show_in_menu'] = true;

    3. Replace it as
    $args['show_in_menu'] = false;

    4. Save the file and check now.

    Hope, this solved your issue!

    Thread Starter milettic

    (@milettic)

    Good but still appears in admin bar under “+ New” menu.

    • This reply was modified 4 years, 6 months ago by milettic.
    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Kindly try adding the following code under the code your modified before,

    $args['capability_type'] = 'post';

    So, the final code looks like below,

    $args['show_in_menu'] = false;
    $args['capability_type'] = 'post';
    $args['menu_position'] = 5;
    $args['menu_icon'] = 'dashicons-playlist-video';
    Thread Starter milettic

    (@milettic)

    It works great,
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to disable video upload by new users’ is closed to new replies.