Inpsyde\MultilingualPress\Common\Type\FilterableTranslation::remote_url PHP Method

remote_url() public method

Returns the remote URL.
Since: 3.0.0
public remote_url ( ) : string
return string Remote URL.
    public function remote_url()
    {
        if ($this->suppress_filters) {
            return (string) $this->remote_url;
        }
        /**
         * Filters the URL of the remote element.
         *
         * @since 3.0.0
         *
         * @param string      $remote_url        URL of the remote element.
         * @param int         $target_site_id    ID of the target site.
         * @param int         $target_content_id ID of the target element.
         * @param Translation $translation       Translation object.
         */
        $remote_url = (string) apply_filters('multilingualpress.translation_url', (string) $this->remote_url, $this->target_site_id(), $this->target_content_id(), $this);
        return $remote_url;
    }