Skip to content

Actions such as mpd_end_of_core_before_return do not include sufficient parameters #65

@Jon007

Description

@Jon007

In most of the actions, not enough information is available to allow customisation of the process:
for example mpd_end_of_core_before_return (and similarly mpd_persist_end_of_core_before_return etc)

do_action('mpd_persist_end_of_core_before_return', $post_id, $mdp_post, $source_blog_id);
$mpd_process_info['source_post_id'] - the $post_id_to_copy needs to be added

While some actions could hook mpd_during_core_in_source which has more parameters, other need to happen after the new post is created looking up additional information from the original post_id and creating additional information linking to the new post_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions