Last active
March 4, 2019 11:20
-
-
Save ivo-ivanov/6a6fd10675c5954b15b306d550f10ae0 to your computer and use it in GitHub Desktop.
Enque inline admin styles from functions.php #wordpress
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
add_action('admin_head', 'admin_css'); | |
function admin_css() { | |
echo '<style> | |
.acf-gallery .acf-gallery-side-data textarea { | |
display: none; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment