Action: RML/Count/Update

do_action( 'RML/Count/Update', $folders, $attachments, $where )

The folder needs to be updated. If minimum one hook exists the update on the main table is no longer executed. This action is used for example for the WPML compatibility.

Name Type Description
$folders array

Array of folders ID, if null then all folders with cnt = NULL are updated

$attachments array

Array of attachments ID, is merged with $folders if given

$where string

The where statement used for the main table