Custom Placeholder

Description

Use this filter to create custom placeholder for assignment/reminder emails. You will also need to implement the custom placeholder handler hook for this new placeholder to work.

Usage


add_filter( 'oasiswf_custom_placeholders', 'set_submitter_placeholder' );

Parameters

  • none

Example


add_filter( 'oasiswf_custom_placeholders', 'set_submitter_placeholder' );

function set_submitter_placeholder() {
   $custom_placeholders = array(
      '%workflow_submitter%' => _( 'workflow submitter', 'owcustomplaceholders' )
   );
   return $custom_placeholders;
}

Source Code

The filter is located in oasis-workflow-pro/includes/pages/subpages/step-info-content.php