@@ -49,6 +49,9 @@ discard block |
||
49 | 49 | Jetpack_Sync::schedule_sync(); |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $type |
|
54 | + */ |
|
52 | 55 | static function meta_to_sync( $type ) { |
53 | 56 | if ( isset( self::$sync[ $type ] ) ) { |
54 | 57 | return array_values( self::$sync[ $type ] ); |
@@ -56,6 +59,9 @@ discard block |
||
56 | 59 | return array(); |
57 | 60 | } |
58 | 61 | |
62 | + /** |
|
63 | + * @param string $type |
|
64 | + */ |
|
59 | 65 | static function meta_to_delete( $type ) { |
60 | 66 | if ( isset( self::$delete[ $type ] ) ) { |
61 | 67 | return array_values( self::$delete[ $type ] ); |