Nessuna descrizione

class-wc-customer-download-log-data-store-interface.php 658B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Customer Download Log Data Store Interface
  4. *
  5. * @version 3.3.0
  6. * @package WooCommerce\Interface
  7. */
  8. /**
  9. * WC Customer Download Log Data Store Interface.
  10. *
  11. * @version 3.3.0
  12. */
  13. interface WC_Customer_Download_Log_Data_Store_Interface {
  14. /**
  15. * Get array of download log ids by specified args.
  16. *
  17. * @param array $args Arguments.
  18. * @return array of WC_Customer_Download_Log
  19. */
  20. public function get_download_logs( $args = array() );
  21. /**
  22. * Get logs for a specific download permission.
  23. *
  24. * @param int $permission_id Permission ID.
  25. * @return array
  26. */
  27. public function get_download_logs_for_permission( $permission_id );
  28. }