contentDeleteOrder()
contentDeleteOrder()
item_move_finished(integer $folderId,array<mixed,integer> $ids,\MatthiasWeb\RealMediaLibrary\api\IFolder $folder,boolean $isShortcut)
When moving to a folder with content custom order, reindex the folder content.
integer | $folderId | |
array<mixed,integer> | $ids | |
\MatthiasWeb\RealMediaLibrary\api\IFolder | $folder | |
boolean | $isShortcut |
posts_clauses(array<mixed,string> $pieces,\WP_Query $query): array<mixed,string>
JOIN the order table and orderby the nr.
It is only affected when $query = new \WP_Query([ 'post_status' => 'inherit', 'post_type' => 'attachment', 'rml_folder' => 4, 'orderby' => 'rml' ));
array<mixed,string> | $pieces | |
\WP_Query | $query |