Project Calculator

Get a quote'; $output .= '

'; return $output; } function cc_admin_menu(){ add_options_page( 'Concrete Calculator', 'Concrete Calculator', 'manage_options', 'sak_cc', array($this,'cc_option_page_callback' )); } function cc_option_page_callback(){ if(isset($_POST['update_unit'])): $unit_type = $_POST['unit_type']; update_option('cc_unit_type',$unit_type); echo '

Unit has been updated!

'; endif; $cur_unit = get_option('cc_unit_type'); ?>

Concrete calculator settings

value="metric" /> Metric value="english" /> English

Leave a Reply

Your email address will not be published. Required fields are marked *