• Resolved Drivingralle

    (@drivingralle)


    Moin!

    Today I was debugging a client website that recently was updated to v2 of AA and AA Pro. The client has a custom add-on to add a group type.

    Most things I could fix. But the filter “advanced-ads-group-save-atts” is gone and I can’t find any information about a any replacement. Also the hook reference on the website doesn’t mentions the removal or deprecation.
    Can you provide a alternative hook/filter to replace the old one with?

    Greetings
    derRALF

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ahmeddr

    (@ahmeddr)

    Hello @drivingralle ,

    Thank you so much for your patience!

    The advanced-ads-group-save-atts action has been removed in the latest updates, and unfortunately, there’s no direct alternative available at the moment. I’m currently discussing this with our development team to see if we can introduce another filter in the future.

    In the meantime, could you share more details about how you were using this action? That would really help us understand your use case better. You can submit the information through this form.

    Please be sure to mention this ticket in your message, and let me know here once you’ve sent it.

    Wishing you a great day!

    Best regards,

    Thread Starter Drivingralle

    (@drivingralle)

    Hey!

    Sorry for the delay.
    We are adding a custom ads type and are using that action to save some data.

    Greetings
    derRALF

    Plugin Support ahmeddr

    (@ahmeddr)

    Hello @drivingralle,

    I just wanted to follow up and let you know that we’ve added the following filter, which includes the object as an argument. You can now use it to save any custom meta you need:

    apply_filters( 'advanced-ads-group-pre-save', $group );

    Example usage:

    add_filter( 'advanced-ads-group-pre-save', function( $group ) { $group->set_prop( 'custom_field', 'custom_value' ); return $group; } );

    Have a great day!

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Missing filter: advanced-ads-group-save-atts’ is closed to new replies.