insert( 'pterotype_following', array( 'actor_id' => $actor_id, 'object_id' => wp_json_encode( $object ), 'state' => $PENDING ) ); } ?>