Skip to content

Commit

Permalink
Update Pinterest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shuvo7670 committed Apr 29, 2024
1 parent f575b49 commit 5ef34e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/Social/Pinterest.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ public function remote_post($post_id, $board_name, $section_name, $profile_key,
$_board_name = '';
if( is_object( $board_name ) ) {
$_board_name = $board_name->label;
}else{
$_board_name = $board_name;
}
try {
$pinterest = new \DirkGroenen\Pinterest\Pinterest(null, null);
Expand Down

0 comments on commit 5ef34e7

Please sign in to comment.