Support

Home Forums Event Espresso Premium Get Person Bio from the Person object

Get Person Bio from the Person object

Posted: April 5, 2021 at 3:01 pm


make_webmaster

April 5, 2021 at 3:01 pm

Using the People add-on and pulling information using the database models, how does one pull a persons bio? It seems I can pull every other field but that one.


Tony

  • Support Staff

April 5, 2021 at 3:47 pm

Hi there,

So you have an EE_Person object?

We don’t have a method specifically for calling the bio, but you can use the get() method for it:

$person->get('PER_short_bio');

or

$person->get('PER_bio');

Assuming $person is an instance of EE_Person.


make_webmaster

April 5, 2021 at 3:49 pm

Thank you Tony. This is exactly what I was looking for!!

The support post ‘Get Person Bio from the Person object’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso