abdul billoo

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Few Developer Questions – Custom Fields #44164
    abdul billoo
    Participant

    Any updates for this? I wouldn’t want to use the SQL but instead use the query instead

    in reply to: Few Developer Questions – Custom Fields #43892
    abdul billoo
    Participant

    Your inital code says we can do it via arguments in erp\includes\functions-people.php

    
    $defaults = [
            'type'       => 'all',
            'number'     => 20,
            'offset'     => 0,
            'orderby'    => 'id',
            'order'      => 'DESC',
            'trashed'    => false,
            'meta_query' => [],
            'count'      => false,
            'life_stage' => '',
            'include'    => [],
            'exclude'    => [],
            's'          => '',
            'no_object'  => false
        ];
    

    Can u give an example with what i wish to achieve using $defaults or any example that is closer and works with multiple meta values?

    • This reply was modified 4 years, 10 months ago by abdul billoo.
Viewing 2 posts - 1 through 2 (of 2 total)

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your query

We will reply to you very soon :)