-
Notifications
You must be signed in to change notification settings - Fork 1
wp_lib_fine_created
###Description
This action hook allows developers to run code after a Fine has been created for the late return of an Item.
###Context
This hook is called after the WordPress Post for the Fine has been created and the post meta associated with it (Item ID/Fine amount/etc.) has been set. This action is called before the Item has been fully returned, meaning some Item/Loan post meta will still exist as if the Loan were still active.
###Parameters
$fine_id
Post ID of Fine that has just been created
$item_id
Post ID of Item that is being returned
$member_id
Post ID of Member who returned the Item late
$loan
Instance of Loan class WP_Lib_Loan. Contains Loan's Post ID
####1. Post Types
Items
Members
Loans
Fines
####2. Taxonomies
Author
Media Type
####3. User Roles
Librarian
Library Admin
####4. Filters
####5. Actions
####6. Releases
6.1 Alpha Releases
Fox Paw
Wolf Tail
Badger Claw
Coyote Snout