Determine if custom price mode is enabled or disabled
public is_custom_price_mode ( ) : boolean | ||
Résultat | boolean |
/** * Determine if custom price mode is enabled or disabled * This function is wrapper function to Give_Donate_Form::is_custom_price_mode() * * @since 1.6 * * @param int $form_id Form ID. * * @use Give_Donate_Form::is_custom_price_mode() * * @return bool */ function give_is_custom_price_mode($form_id = 0) { if (empty($form_id)) { return false; } $form = new Give_Donate_Form($form_id); return $form->is_custom_price_mode(); }