Skip to content

Commit

Permalink
Revert "put in some debug stuff"
Browse files Browse the repository at this point in the history
This reverts commit 0908305.
  • Loading branch information
cjyabraham committed Jun 25, 2024
1 parent 0908305 commit c038a6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit c038a6d

Please sign in to comment.