@@ 1483-1485 (lines=3) @@ | ||
1480 | * @return bool True if disconnected successfully, false otherwise. |
|
1481 | */ |
|
1482 | public function delete_all_connection_tokens( $ignore_connected_plugins = false ) { |
|
1483 | if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) { |
|
1484 | return false; |
|
1485 | } |
|
1486 | ||
1487 | /** |
|
1488 | * Fires upon the disconnect attempt. |
|
@@ 1532-1534 (lines=3) @@ | ||
1529 | * @return bool True if disconnected successfully, false otherwise. |
|
1530 | */ |
|
1531 | public function disconnect_site_wpcom( $ignore_connected_plugins = false ) { |
|
1532 | if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) { |
|
1533 | return false; |
|
1534 | } |
|
1535 | ||
1536 | /** |
|
1537 | * Fires upon the disconnect attempt. |