Skip to content

CQFS Action Hooks

Overview | Getting Started | CQFS shortcode | Action Hooks | Filter Hooks | Live Demos

Form action hooks

  1. cqfs_after_title – hooks after the cqfs form title and before the form starts.
  2. cqfs_before_end – hooks just before the closing div.

Result page action hooks

  1. cqfs_before_result – hooks before the result page content.
  2. cqfs_after_result – hooks after the result page content.

Example use

// let's add some custom html before the result
add_action('cqfs_before_result', 'my_callback_function');
function my_callback_function(){
    // your code goes here
    $my_html = sprintf(
        '<p class="my-class">%s</p>',
        esc_html__('This is my custom text.', 'text-domain')
    );

    return $my_html;
}

Resources

Overview

An overview page of CQFS plugin.


Getting Started

Find all about getting started with CQFS plugin.

CQFS shortcode

Discover CQFS shortcode use and attributes.

Action Hooks

Developers can use the available action hooks for their custom contents.

Filter Hooks

Find all available filter hooks that you can use to modify default values.

Live Demos

Discover all demos that you can easily create and use in your site.