Skip to content

Introduce actions after sort order has been updated #114

@ocean90

Description

@ocean90

Is your enhancement related to a problem? Please describe.

To sync the relationships between translations I'm currently using the tenup-content-connect-add-relationship action and $relationship->get_related_object_ids( $pid1, true ) methid.
But if sorting is enabled, get_related_object_ids() doesn't return the correct order because save_sort_data() is only called after replace_relationships(). So the action runs to early.

Therefore I'm suggesting two add one more action to the sorting methods.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Code Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions