Add a custom setting to the settings page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?php add_action('wpfh_cem_settings','settings'); function settings(){ $html .=' <tr><td colspan="2"><h2>Premium Settings</h2></td></tr> <tr> <td width="300"><strong>Premium Key</strong><br><em>Test Setting</em></td> <td><input style="width:400px" type="text" name="test_setting" value="'.get_option('test_setting').'" > </td> </tr> '; echo $html; } ?> |
Posted in: Actions