Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_background_color [ WordPress Function ]

get_background_color ( No parameters )
Returns:
  • (string)
Defined at:



Retrieve value for custom background color.

Source


<?php
function get_background_color() {
    return 
get_theme_mod('background_color'get_theme_support'custom-background''default-color' ) );
}
?>

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

User discussions [ wordpress.org ]

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics