Saturday, July 10, 2021

See the value of variable in WordPress - vardump

 In WP happens that you got to some object and you want to find as much as possible about that object.

So the question is: what is the content of WP object.

Trick which works very often is to use function var_dump($variable)

No comments: