display instructions if any
This commit is contained in:
@@ -25,7 +25,15 @@ if ($is_current_step) {
|
||||
</h3>
|
||||
|
||||
<?php
|
||||
//Gravity_Flow_Entry_Detail::maybe_show_instructions(true, true, $step->get_form(), $form, $step->get_entry());
|
||||
|
||||
if ($step->instructionsEnable) {
|
||||
|
||||
$instructions = $step->instructionsValue;
|
||||
$instructions = GFCommon::replace_variables( $instructions, $step->get_form(), $step->get_entry(), false, false, true );
|
||||
$instructions = do_shortcode( $instructions );
|
||||
|
||||
echo '<div class="wiaas-delivery-process-step-instructions">' . $instructions . '</div>';
|
||||
}
|
||||
|
||||
$action_form = GFAPI::get_form( $step->target_form_id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user