DiviAreaItem.theKey()

DiviAreaItem.theKey()

Returns the Areas hook-key which is used for action/filter names.

The hook-key contains only lowercase letters, numbers and underscores.

Params

no Params

Returns

A string containing the Areas hook-key, which is used for the dynamic part of action- and filter-names.

Examples

var area = DiviArea.getArea();
console.log( area.theKey() ); // Sample output: divi_area_74335

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us