WP-Hook: Exceed & Extend Placeholders

In order to be as flexible as possible with your templates, you can use Hook to define your own placeholders. You can also access and manipulate all the placeholders created by the plug-in.

Function for the product template

This hook is only used for the templates with the product type.

Parameter Description
placeholders The Array with the values. The array corresponds to a data record.
Return value The overridden values.

Function for the picture gallery template

This hook is only used for the templates with the picture gallery type.

Parameter Description
placeholders An Array consisting of placeholder and value.
Return values The overridden placeholders.

Function for the offer template

This hook is only used with templates with the type Offers.

Parameter Description
placeholders An Array consisting of placeholder and value.
Return values The overridden placeholders.

 

You can find more information about the various types of models here.
Tip: Use a plugin like My Custom Functions or a child theme to build your hooks!

Do you still have questions? No problem :-)
We are happy to answer your questions in our forum.