gpeb_entry_not_found_message

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the message to a static message
  5. Since

Description

Filter the entry not found message.

Usage

add_filter( 'gpeb_entry_not_found_message', 'my_custom_function' );

Parameters

  • entry_not_found_message string

    The entry not found message.

  • block \WP_Block

    The block instance.

Examples

Change the message to a static message

add_filter( 'gpeb_entry_not_found_message', function( $entry_not_found_message, $block ) {
    return 'Entry not found.';
}, 10, 2 );

Since

This filter is available since Gravity Forms Entry Blocks 1.0-alpha-2.26.