Nav apraksta

deprecated-classes.php 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. /*******************************************************************************
  3. * Copyright (c) 2019, Code Atlantic LLC
  4. ******************************************************************************/
  5. // Exit if accessed directly
  6. if ( ! defined( 'ABSPATH' ) ) {
  7. exit;
  8. }
  9. /**
  10. * PopMake_License Class
  11. *
  12. * @deprecated 1.5.0
  13. *
  14. * Use PUM_Extension_License instead.
  15. */
  16. class PopMake_License extends PUM_Extension_License {}
  17. /**
  18. * PopupMaker_Plugin_Updater
  19. *
  20. * @deprecated 1.5.0 Use PUM_Extension_Updater.
  21. */
  22. class PopupMaker_Plugin_Updater extends PUM_Extension_Updater {}
  23. /**
  24. * Popmake_Cron Class
  25. *
  26. * This class handles scheduled events
  27. *
  28. * @since 1.3.0
  29. * @deprecated 1.8.0
  30. */
  31. class Popmake_Cron extends PUM_Utils_Cron {}
  32. /**
  33. * Class PUM_Popup_Query
  34. *
  35. * @deprecated 1.8.0
  36. */
  37. class PUM_Popup_Query {
  38. /**
  39. * The args to pass to the pum_get_popups() query
  40. *
  41. * @var array
  42. * @access public
  43. */
  44. public $args = array();
  45. /**
  46. * Default query arguments.
  47. *
  48. * Not all of these are valid arguments that can be passed to WP_Query. The ones that are not, are modified before
  49. * the query is run to convert them to the proper syntax.
  50. *
  51. * @param array $args The array of arguments that can be passed in and used for setting up this popup query.
  52. */
  53. public function __construct( $args = array() ) {
  54. $this->args = $args;
  55. }
  56. /**
  57. * Retrieve popups.
  58. *
  59. * The query can be modified in two ways; either the action before the
  60. * query is run, or the filter on the arguments (existing mainly for backwards
  61. * compatibility).
  62. *
  63. * @access public
  64. * @return object
  65. */
  66. public function get_popups() {
  67. return pum_get_popups( $this->args );
  68. }
  69. }
  70. /**
  71. * Class PUM
  72. *
  73. * @deprecated 1.8.0 - Don't use this. Use Popup_Maker instead.
  74. */
  75. class PUM {
  76. const DB_VER = null;
  77. const VER = null;
  78. static $DB_VER = null;
  79. static $VER = null;
  80. }