diff --git a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-presentations.php b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-presentations.php index 1d663bc..57beb44 100644 --- a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-presentations.php +++ b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/admin/partials/sync-presentations.php @@ -91,7 +91,7 @@ $query->the_post(); $params['ID'] = get_the_ID(); // post to update. } - +var_dump($params); $newid = wp_insert_post( $params ); // will insert or update the post as needed. if ( $newid ) { diff --git a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/includes/class-lf-mu.php b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/includes/class-lf-mu.php index 9c9b186..0023fcb 100644 --- a/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/includes/class-lf-mu.php +++ b/web/wp-content/mu-plugins/wp-mu-plugins/lf-mu/includes/class-lf-mu.php @@ -183,7 +183,7 @@ private function define_admin_hooks() { // $this->loader->add_action( 'lf_sync_people', $plugin_admin, 'sync_people' ); //phpcs:ignore. // Example of how to run a sync locally on demand. - // $this->loader->add_action( 'init', $plugin_admin, 'sync_presentations' ); //phpcs:ignore. + $this->loader->add_action( 'init', $plugin_admin, 'sync_presentations' ); //phpcs:ignore. // $this->loader->add_action( 'init', $plugin_admin, 'sync_people' ); //phpcs:ignore. $this->loader->add_filter( 'dashboard_glance_items', $plugin_admin, 'custom_glance_items', 10, 1 );