Created
December 15, 2022 06:23
-
-
Save WPCred1/ec0f94d4e969bad8da905c7109986063 to your computer and use it in GitHub Desktop.
Add Custom Background
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
$defaults = array( | |
'default-color' => '', | |
'default-image' => '', | |
'default-repeat' => '', | |
'default-position-x' => '', | |
'default-position-y' => '', | |
'default-size' => '', | |
'default-attachment' => '', | |
'wp-head-callback' => '_custom_background_cb', | |
'admin-head-callback' => '', | |
'admin-preview-callback' => '' | |
); | |
add_theme_support( 'custom-background', $defaults ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment