| @@ -38,22 +38,9 @@ | ||
| 38 | 38 | /** |
| 39 | 39 | * Register the WordPress hooks |
| 40 | 40 | */ |
| 41 | 41 | private function register_hooks() { |
| 42 | - add_filter( 'option_fx-private-site', array( $this, 'fx_private_site' ) ); | |
| 43 | 42 | add_filter( 'wp_sweep_excluded_taxonomies', array( $this, 'wp_sweep_excluded_taxonomies' ) ); |
| 44 | - } | |
| 45 | - | |
| 46 | - /** | |
| 47 | - * Allow accessing the private feed when the FX Private Site plugin is installed. | |
| 48 | - * | |
| 49 | - * @param mixed $value Value of the option. | |
| 50 | - */ | |
| 51 | - public function fx_private_site( $value ) { | |
| 52 | - if ( $this->friends->access_control->feed_is_authenticated() ) { | |
| 53 | - $value['enable'] = false; | |
| 54 | - } | |
| 55 | - return $value; | |
| 56 | 43 | } |
| 57 | 44 | |
| 58 | 45 | /** |
| 59 | 46 | * WP Sweep |