Home > Software design >  How to print the object values in WordPress
How to print the object values in WordPress

Time:08-20

I want to make changes to the ultimate member plugin template file. enter image description here

Now I want to check the details that are inside the user object but I don't know how to print or var dump the user object can anyone help me with that, please?

Thanx in advance :)

CodePudding user response:

Try

<?php var_dump(obj) ?>

or

<?php print_r(obj) ?>

CodePudding user response:

The code you showed us is part of a ultimate-member-grid

Please note that editing a plugin is not suggested. So, you can do it locally for testing purposes.

  • Related