Better apply_filter support

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 10 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #18749

    Jeff
    Buyer
    Post count: 188

    In geodir_payment_functions.php there’s a filter called ‘geodir_package_info’ that would allow me to get my custom fields back along with the rest of the data.

    However, the filter passes $info (the array of package info), the $pkg_id and the $pid. In order to add my custom fields to the $info array, I need to re-run the lookup that this function already does.

    And since it probably won’t be cached, it’s more work for everyone. Why not add the original $priceinfoObj to the filter?

    #18750

    Jeff
    Buyer
    Post count: 188

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #18757

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #18805

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #19121

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount