Support » Plugin: WP Vimeo Videos » Restrict Search Access to Video to Current User

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Darko G.

    (@darkog)

    It’s possible to completely disable the search functionality. Unfortunately it’s not possible to limit the videos only to the users that uploaded because in reality this is one user (your vimeo user) and there is no clear evidence which user account uploaded the video because we are using the Vimeo API to perform the search.

    Disabling the search function completely would be an option. How do I do that?

    Plugin Author Darko G.

    (@darkog)

    @chaille

    You can use this code in your functions.php

    
    /**
     * Hide search option in WP Vimeo Videos
     * @return void
     */
    function wvv_disable_search_option() {
    	echo '<style>.dgv-vimeo-upload-form > .dgv-vimeo-form-row > label:last-child { display: none !important;}</style>';	
    }
    add_action('admin_head', 'wvv_disable_search_option');
    
    • This reply was modified 2 weeks, 5 days ago by Darko G..

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.