Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/helper/class-ee-site.php
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ public function ssl( $args = [], $assoc_args = [], $www_or_non_www = false ) {
}

/**
* Publishes site online using ngrok.
* Share a site online using ngrok.
*
* ## OPTIONS
*
Expand All @@ -966,24 +966,24 @@ public function ssl( $args = [], $assoc_args = [], $www_or_non_www = false ) {
* : Take online link down.
*
* [--refresh]
* : Refresh site publish if link has expired.
* : Refresh site share if link has expired.
*
* [--token=<token>]
* : ngrok token.
*
* ## EXAMPLES
*
* # Publish site online
* $ ee site publish example.com
* # Share a site online
* $ ee site share example.com
*
* # Refresh published link if expired
* $ ee site publish example.com --refresh
* # Refresh shareed link if expired
* $ ee site share example.com --refresh
*
* # Disable online link
* $ ee site publish example.com --disable
* $ ee site share example.com --disable
*
*/
public function publish( $args, $assoc_args ) {
public function share( $args, $assoc_args ) {

$args = auto_site_name( $args, 'site', __FUNCTION__ );
$this->site_data = get_site_info( $args, true, true, false );
Expand Down