@@ -172,6 +172,9 @@ |
||
| 172 | 172 | } |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | + /** |
|
| 176 | + * @param string $when |
|
| 177 | + */ |
|
| 175 | 178 | private function schedule_sync( $when ) { |
| 176 | 179 | wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' ); |
| 177 | 180 | } |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | return self::$initialized_modules; |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $module_name |
|
| 41 | + */ |
|
| 39 | 42 | public static function get_module( $module_name ) { |
| 40 | 43 | foreach( self::get_modules() as $module ) { |
| 41 | 44 | if ( $module->name() === $module_name ) { |