gdrts-template-rating-block-before
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
Action gdrts-template-rating-block-before is fired inside every template included in the plugin for single rating block as a first thing inside the inner wrapper DIV (unless the template is customized to remove the action or move it).
To determine which rating method and template is active inside your custom function hooked to this action, it is recommended to use the following function: