RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_special_instructions

rpress_special_instructions

The rpress_special_instructions filter is applied to get special instructions. It receives one parameter. The text field can be modifird by using this filter.

apply_filters( ‘rpress_special_instructions’, true );

Example:

function rpress_special_instructions_callback( $instructions ) {
  $instructions  = __( 'Additional Information', 'restropress' );
 return $instructions;
}
add_filter( 'rpress_special_instructions', 'rpress_special_instructions_callback', 10, 1 );

How can we help?