Created
October 5, 2021 10:19
-
-
Save flymke/3fa82114483bcd546dd5d448e22fad4d to your computer and use it in GitHub Desktop.
santapress - allow comments on single door pages
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
function santapress_allow_comments() { | |
add_post_type_support( 'door', 'comments' ); | |
} | |
add_action('init', 'santapress_allow_comments'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment