| 1 | <?php |
||
| 3 | class Jetpack_Sync_Module_Themes extends Jetpack_Sync_Module { |
||
| 4 | function name() { |
||
| 5 | return 'themes'; |
||
| 6 | } |
||
| 7 | |||
| 8 | public function init_listeners( $handler ) { |
||
| 9 | add_action( 'switch_theme', array( $this, 'enqueue_full_sync_actions' ) ); |
||
| 10 | add_action( 'jetpack_sync_current_theme_support', $handler, 10 ); |
||
| 11 | } |
||
| 12 | |||
| 13 | function enqueue_full_sync_actions() { |
||
| 37 | |||
| 38 | function get_full_sync_actions() { |
||
| 41 | } |
||
| 42 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.