WP ULike
Get Pro
Pro

Bulk Actions, GDPR & REST API

Adjust vote counts in bulk, erase user vote data for GDPR, and configure the REST API panel.

Three Pro tools live under WP ULike → Tools. Each requires an active license to save or run destructive actions.

REST API endpoint reference is in REST API. This page covers the admin panels and what they affect.


Bulk Actions

Tools → Bulk Actions

Adjust like and dislike counter values on posts, comments, activities, and topics — without editing the database manually.

Search modes

Search Posts — filter by:

  • Post type (all public types)
  • Taxonomy and term
  • Title keyword

Search by Item ID — find specific items:

  • Content type: post, comment, activity [BP], topic [bbPress]
  • One or more IDs (comma-separated)

Edit modes

Individual Edit — table with current and new like/dislike counts per selected item.

Bulk Operations — apply one operation to all selected items:

OperationBehavior
Add specific number
Adds N likes and/or dislikes to current counts
Set exact number
Sets counts to exact values
Add random numbers
Adds random likes/dislikes within a min–max range

Important notes

  • Bulk Actions update counter values — they do not create fake vote log rows for Statistics drill-down.
  • After large bulk edits, run Maintenance → Sync Counter Values if counts and logs diverge.
  • Use for migrations, seed data, or correcting imported totals — not for hiding real engagement.
  • There is no undo — export Statistics or note current values first.

GDPR — Remove User Logs

Tools → GDPR

Delete all vote logs for selected registered WordPress users.

Workflow

  1. Search users by name, email, or login.
  2. Add users to the Selected Users list.
  3. Click Remove Logs and confirm.

What is deleted

  • All like/dislike/unlike/undislike log rows for those user IDs
  • Across all content types: posts, comments, BuddyPress activities, bbPress topics
  • User vote status meta is cleared
  • Counters are synced after deletion

What is NOT deleted

  • The WordPress user accounts themselves
  • Guest votes stored by IP or fingerprint — use Maintenance cleanup tools or contact support for anonymous data
  • Schema Generator post meta or Display Automation rules

Compliance notes

  • WordPress core Personal Data Erasure (Privacy tools) also handles logged-in user votes via the free plugin's privacy hooks.
  • The GDPR tool is for bulk admin erasure when fulfilling data subject requests.
  • Action is irreversible — document what was removed.
  • Export user data from WordPress Privacy → Export Personal Data before erasing if required by your policy.

Fires maintenance-related cleanup; see Database & Meta.


REST API panel

Tools → REST API

Configure the Pro REST API (/wp-json/wp-ulike-pro/v1/). Full endpoint docs: REST API reference.

Panel options

OptionValuesDescription
Enable REST API
on/off
Master switch for all routes
Authentication type
login / token
WordPress Application Password vs Bearer token
Readable routes roles
role slugs
Who can GET
Writable routes roles
role slugs
Who can POST/PUT/DELETE
Auto user ID
on/off
Writes use authenticated user ID instead of body user_id

API key management

When auth type is token:

  1. Generate a key in the REST API panel.
  2. Send requests with Authorization: Bearer YOUR_TOKEN.
  3. Rotate keys periodically — old keys can be revoked in the panel.

Keys are stored in wp_ulike_rest_api_keys.

Backup behavior

SettingIn settings export?
REST panel options (enable_rest_api, roles, auth type)
✓ via extensions.wp-ulike-pro.rest_api_settings
Bearer tokens / API keys
✗ — regenerate after import

See Backup and Restore.

Security defaults

  • Default readable/writable roles: Administrator only
  • Enable writable routes only if your integration needs to cast votes
  • Never embed Bearer tokens in front-end JavaScript
  • Use HTTPS for all API calls

When to use which tool

GoalTool
Fix counter numbers on 50 posts
Bulk Actions
Fulfill GDPR erasure for a user
GDPR
Mobile app reads vote logs
REST API panel + REST docs
Delete all logs for a content type
Clone REST settings to staging
Settings backup export/import (regenerate keys)

Related: Debug Info · Maintenance Tools

Continue with these guides