Developer Knowledge Level

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!

gdrts_current_method_name();

Description

Return current rating method, if the plugin rendering is currently inside the template. This is useful to determine which method is active for use inside the handlers hooked to filters or actions that don’t include method information already.

Returns

If it is inside the template, returns the string with the name of the method, if not, return null.

0
0
387
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply