Created
June 19, 2020 10:09
-
-
Save gdarko/92edda496c9eb27c0f5d0060ea947672 to your computer and use it in GitHub Desktop.
Hide search option in Wp Vimeo Videos upload block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hide search option in WP Vimeo Videos | |
* @return void | |
*/ | |
function wvv_disable_upload_options() { | |
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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment