We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Add custom fields to my output Reply To: Add custom fields to my output

#19228
Tom
Keymaster

Hi there,

You can use the $settings parameter in the function.

For example:

add_action( 'hook_name', function( $settings ) {
    if ( 123 === $settings['list_id'] ) {
        // Everything in here will show up on the "123" list ID.
    }
} );