Docly

Action Hook Column

Estimated reading: 1 minute 156 views

Time needed: 5 minutes.

We have many columns to display information, yet if you need to display some information from a specific hook, you can do that.

  1. Add an action hook column

    First, we need to add a column, where we can add an action hook. See the screenshot below.

  2. Add an action hook

    'woocommerce_single_product_summary' is an action hook. With the help of this hook, we can display a single product's summary.
    So, click and expand the newly created column. We will see an option called "WC Action Hook". Here, write down that hook.

  3. Output

    Now you will see that output.

CONTENTS