Class WPML
This class handles the compatibility for WPML.
- MatthiasWeb\RealMediaLibrary\base\Base
-
MatthiasWeb\RealMediaLibrary\comp\WPML
Methods summary
public
|
|
public
|
|
public
|
|
public
|
#
getSingleCountSql( $code, $fieldId = 'tn.fid' )
Get the single SQL for the subquery of count getter. |
public
|
#
updateCountCache( $folders, $attachments, $where )
Update the count cache for WPML regarding the active languages. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
item_move_finished( $folderId, $ids, $folder, $isShortcut )
A file is moved (not copied) and then move also all the translations. |
public
|
#
wpml_media_create_duplicate_attachment( $post_id, $tr_id )
New translation created => synchronize with original post. Then reset the count cache for the unogranized folder. |
public
|
|
public static
|