wpcf7_editor_panels

The contact-form-7 wpcf7 editor panels hook.

Published Date - July 22, 2023

Description

$panels = apply_filters( 'wpcf7_editor_panels', $panels );

Parameters

  1. $panels


Usage

The following example is for adding a hook callback.

// define the wpcf7_editor_panels callback 
function custom_wpcf7_editor_panels( $panels ){ 
   //custom code here
    return $panels
} 

//add the action 
add_filter('wpcf7_editor_panels', 'custom_wpcf7_editor_panels', 10, 1)

Defined

The filter is defined in the following location(s).

contact-form-7/admin/edit-contact-form.php

$panels = apply_filters( 'wpcf7_editor_panels', $panels );