gpnf_export_parent_entry_row

  1. Description
  2. Usage
  3. Parameters

Description

Disable the output of parent entry rows so that only child entry rows are exported.

This filter should be used in conjunction with the gpnf_export_parent_entry_data_on_child_entry_rows to allowing exporting parent entry data on child entry rows while excluding the parent entry rows themselves. If you do not need any parent entry data and only wish to export child entry data, select the child form directly for export instead.

Usage

Apply to all parent forms.

add_filter( 'gpnf_export_parent_entry_row', '__return_false' );

Apply to a specific parent form.

add_filter( 'gpnf_export_parent_entry_row_FORMID', '__return_false' );

Parameters

  • export_parent bool

    Should parent entry rows be exported?

  • form array

    The parent form.

  • entry array

    The parent entry.