Inpsyde\MultilingualPress\Relations\Post\RelationshipController::handle_connect_existing_post PHP Метод

handle_connect_existing_post() публичный Метод

Connects the current post with an existing remote one.
С версии: 3.0.0
public handle_connect_existing_post ( ) : void
Результат void
    public function handle_connect_existing_post()
    {
        if ($this->connect_existing_post()) {
            wp_send_json_success();
        }
        wp_send_json_error($this->last_error);
    }