for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Media upload hook event class.
*
* @package wordpoints-hooks-api
* @since 1.0.0
*/
* Represents a hook event that occurs when a media file is uploaded.
class WordPoints_Hook_Event_Media_Upload extends WordPoints_Hook_Event {
public function get_title() {
return __( 'Upload Media', 'wordpoints' );
}
public function get_description() {
return __( 'When a file is uploaded to the Media Library.', 'wordpoints' );
// EOF