wl_reset_slide_image_setting

Slide image Settings.

Description

wl_reset_slide_image_setting(); 

Usage

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

Defined (1)

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

/options-reset.php  
  1. function wl_reset_slide_image_setting() 
  2. $ImageUrl = get_template_directory_uri()."/images/1.png"; 
  3. $ImageUrl2 = get_template_directory_uri()."/images/2.png"; 
  4. $ImageUrl3 = get_template_directory_uri()."/images/3.png"; 
  5. $wl_theme_options['slide_image_1'] = $ImageUrl; 
  6. $wl_theme_options['slide_title_1'] = "Slide Title"; 
  7. $wl_theme_options['slide_desc_1'] = "Lorem Ipsum is simply dummy text of the printing"; 
  8. $wl_theme_options['slide_btn_text_1'] = "Read More"; 
  9. $wl_theme_options['slide_btn_link_1'] = "#"; 
  10. $wl_theme_options['slide_image_2'] = $ImageUrl2; 
  11. $wl_theme_options['slide_title_2'] = "variations of passages"; 
  12. $wl_theme_options['slide_desc_2'] = "Contrary to popular belief, Lorem Ipsum is not simply random text"; 
  13. $wl_theme_options['slide_btn_text_2'] = "Read More"; 
  14. $wl_theme_options['slide_btn_link_2'] = "#"; 
  15. $wl_theme_options['slide_image_3'] = $ImageUrl3; 
  16. $wl_theme_options['slide_title_3'] = "Contrary to popular "; 
  17. $wl_theme_options['slide_desc_3'] = "Aldus PageMaker including versions of Lorem Ipsum, rutrum turpi"; 
  18. $wl_theme_options['slide_btn_text_3'] = "Read More"; 
  19. $wl_theme_options['slide_btn_link_3'] = "#"; 
  20.  
  21.  
  22. update_option('enigma_options', $wl_theme_options);