jetpack_content_options_init

Activate the Content Options plugin.

Description

jetpack_content_options_init(); 

Usage

  1. if ( !function_exists( 'jetpack_content_options_init' ) ) { 
  2. require_once '/modules/theme-tools/content-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_content_options_init(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/theme-tools/content-options.php  
  1. function jetpack_content_options_init() { 
  2. // If the theme doesn't support 'jetpack-content-options', don't continue. 
  3. if ( ! current_theme_supports( 'jetpack-content-options' ) ) { 
  4. return; 
  5.  
  6. // Load the Customizer options. 
  7. require( dirname( __FILE__ ) . '/content-options/customizer.php' ); 
  8.  
  9. // Load Blog Display function. 
  10. require( dirname( __FILE__ ) . '/content-options/blog-display.php' ); 
  11.  
  12. // Load Author Bio function. 
  13. require( dirname( __FILE__ ) . '/content-options/author-bio.php' ); 
  14.  
  15. // Load Post Details function. 
  16. require( dirname( __FILE__ ) . '/content-options/post-details.php' ); 
  17.  
  18. // Load Featured Images function. 
  19. if ( jetpack_featured_images_should_load() ) { 
  20. require( dirname( __FILE__ ) . '/content-options/featured-images.php' );