Created
June 5, 2020 22:01
-
-
Save gdarko/66cc7a3169ec4ab5e838a21671d6e947 to your computer and use it in GitHub Desktop.
Hide upload options on WP Vimeo Videos
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 Upload options on WP Vimeo Videos | |
* @return void | |
*/ | |
function wvv_disable_upload_options() { | |
echo '<style>.dgv-vimeo-form-row label {display:none !important;}</style>'; | |
} | |
add_action('admin_head', 'wvv_disable_upload_options'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great! No problem.
Have a nice weekend!