Changeset 3714439 for wplr-sync/trunk/classes/api.php
- Timestamp:
- 09/26/2026 04:01:43 PM (3 weeks ago)
- File:
-
- 1 edited
-
wplr-sync/trunk/classes/api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wplr-sync/trunk/classes/api.php
r3651505 r3714439 80 80 else if ( $args->action === 'linkinfo' ) 81 81 $this->linkinfo( $args ); 82 else if ( $args->action === 'linkinfo_bulk' ) 83 $this->linkinfo_bulk( $args ); 82 84 else if ( $args->action === 'list_unlinks' ) 83 85 $this->list_unlinks( $args ); … … 359 361 } 360 362 363 // Get LinkInfo (without the hash) for many Media IDs at once 364 function linkinfo_bulk( $args ) { 365 global $wplr; 366 $wp_ids = isset( $args->wp_ids ) ? (array)$args->wp_ids : array(); 367 $list = $wplr->linkinfo_bulk( $wp_ids ); 368 return $this->response( $list ); 369 } 370 361 371 // List files (the Media IDs) that are not linked 362 372 function list_unlinks( $args ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)