sanitize vimeo embed code?

You need to add a custom validation/sanitization callback, and hook it into publish_post (and/or draft_post and/or future_post, as applicable). For example: <?php function wpse_44807_update_custom_post_meta() { // Globalize the $post object global $post; // If our custom post meta key is set, sanitize it; // otherwise, return false $my_post_custom = ( isset( $_POST[‘_my_post_custom’] ? wp_filter_nohtml_kses( $_POST[‘_my_post_custom’] … Read more