Support » Plugin: User Access Manager » Counting protected files

  • I need a way to know all the protected files.
    I have to report the total number of protected files.

    I have found 3 tables containing the information.
    – wp_uam_accessgroup_to_object
    – wp_uam_accessgroup_to_object_1-4
    – wp_uam_accessgroup_to_object_1-5-1
    I have no other wp_uam… tables with data

    The database column ‘object_type’ LIKE ‘attachment’ is a file, right? – Or are more ways a file protection can be registered in the database?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author GM_Alex

    (@gm_alex)

    All table with the suffix like _1-4 are backup tables so you can ignore them. Generally files with the object type attachment are locked, but also all files which are part of a post, page or whatever if the recursive locking is enabled, so I’m afraid it’s not that easy todo. You should have a closer look at the plugin code. If you need any hooks or filters let me know.

Viewing 1 replies (of 1 total)
  • The topic ‘Counting protected files’ is closed to new replies.