wl_reset_portfolio_setting

Site into Settings.

Description

wl_reset_portfolio_setting(); 

Usage

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

Defined (1)

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

/options-reset.php  
  1. function wl_reset_portfolio_setting() 
  2. {  
  3. $ImageUrl4 = WL_TEMPLATE_DIR_URI ."/images/portfolio1.png"; 
  4. $ImageUrl5 = WL_TEMPLATE_DIR_URI ."/images/portfolio2.png"; 
  5. $ImageUrl6 = WL_TEMPLATE_DIR_URI ."/images/portfolio3.png"; 
  6. $ImageUrl7 = WL_TEMPLATE_DIR_URI ."/images/portfolio4.png"; 
  7. $ImageUrl8 = WL_TEMPLATE_DIR_URI ."/images/portfolio5.png"; 
  8. $ImageUrl9 = WL_TEMPLATE_DIR_URI ."/images/portfolio6.png"; 
  9. $wl_theme_options['portfolio_home'] = ""; 
  10. $wl_theme_options['port_heading']="Recent Works"; 
  11. $wl_theme_options['port_1_img']=$ImageUrl4; 
  12. $wl_theme_options['port_2_img']=$ImageUrl5; 
  13. $wl_theme_options['port_3_img']=$ImageUrl6; 
  14. $wl_theme_options['port_4_img']=$ImageUrl7; 
  15. $wl_theme_options['port_5_img']=$ImageUrl8; 
  16. $wl_theme_options['port_6_img']=$ImageUrl9; 
  17. $wl_theme_options['port_1_title']= "Bonorum "; 
  18. $wl_theme_options['port_2_title']= "Content "; 
  19. $wl_theme_options['port_3_title']= "dictionary "; 
  20. $wl_theme_options['port_4_title']= "randomised ";  
  21. $wl_theme_options['port_1_link']="#"; 
  22. $wl_theme_options['port_2_link']="#"; 
  23. $wl_theme_options['port_3_link']="#"; 
  24. $wl_theme_options['port_4_link']="#"; 
  25. update_option('enigma_options', $wl_theme_options);