function bulk_updated_messages( $bulk_messages, $bulk_counts ) {

        $singular = $this->singular;
        $plural = $this->plural;

        $bulk_messages[ $this->post_type_name ] = array(
            'updated'   => _n( '%s '.$singular.' updated.', '%s '.$plural.' updated.', $bulk_counts['updated'] ),
            'locked'    => _n( '%s '.$singular.' not updated, somebody is editing it.', '%s '.$plural.' not updated, somebody is editing them.', $bulk_counts['locked'] ),
            'deleted'   => _n( '%s '.$singular.' permanently deleted.', '%s '.$plural.' permanently deleted.', $bulk_counts['deleted'] ),
            'trashed'   => _n( '%s '.$singular.' moved to the Trash.', '%s '.$plural.' moved to the Trash.', $bulk_counts['trashed'] ),
            'untrashed' => _n( '%s '.$singular.' restored from the Trash.', '%s '.$plural.' restored from the Trash.', $bulk_counts['untrashed'] ),
        );

        return $bulk_messages;
    }
function bulk_updated_messages( $bulk_messages, $bulk_counts ) {

        $singular = $this->singular;
        $plural = $this->plural;

        $bulk_messages[ $this->post_type_name ] = array(
            'updated'   => _n( '%s '.$singular.' updated.', '%s '.$plural.' updated.', $bulk_counts['updated'] ),
            'locked'    => _n( '%s '.$singular.' not updated, somebody is editing it.', '%s '.$plural.' not updated, somebody is editing them.', $bulk_counts['locked'] ),
            'deleted'   => _n( '%s '.$singular.' permanently deleted.', '%s '.$plural.' permanently deleted.', $bulk_counts['deleted'] ),
            'trashed'   => _n( '%s '.$singular.' moved to the Trash.', '%s '.$plural.' moved to the Trash.', $bulk_counts['trashed'] ),
            'untrashed' => _n( '%s '.$singular.' restored from the Trash.', '%s '.$plural.' restored from the Trash.', $bulk_counts['untrashed'] ),
        );

        return $bulk_messages;
    }
function bulk_updated_messages ( $ bulk_messages , $ bulk_counts ) { $ singular = $ this -> singular ; $ plural = $ this -> plural ; $ bulk_messages [ $ this -> post_type_name ] = array ( 'updated' => _n ( '%s ' . $ singular . ' updated.' , '%s ' . $ plural . ' updated.' , $ bulk_counts [ 'updated' ] ) , 'locked' => _n ( '%s ' . $ singular . ' not updated, somebody is editing it.' , '%s ' . $ plural . ' not updated, somebody is editing them.' , $ bulk_counts [ 'locked' ] ) , 'deleted' => _n ( '%s ' . $ singular . ' permanently deleted.' , '%s ' . $ plural . ' permanently deleted.' , $ bulk_counts [ 'deleted' ] ) , 'trashed' => _n ( '%s ' . $ singular . ' moved to the Trash.' , '%s ' . $ plural . ' moved to the Trash.' , $ bulk_counts [ 'trashed' ] ) , 'untrashed' => _n ( '%s ' . $ singular . ' restored from the Trash.' , '%s ' . $ plural . ' restored from the Trash.' , $ bulk_counts [ 'untrashed' ] ) , ) ; return $ bulk_messages ; }
Bulk updated messages

Internal function that modifies the post type names in bulk updated messages

@param array $messages an array of bulk updated messages
Bulk updated messages