interface-metabox-analysis.php 695 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Admin\Metabox
  6. */
  7. /**
  8. * Describes an interface for an analysis that can either be enabled or disabled.
  9. */
  10. interface WPSEO_Metabox_Analysis {
  11. /**
  12. * Whether this analysis is enabled.
  13. *
  14. * @return bool Whether or not this analysis is enabled.
  15. */
  16. public function is_enabled();
  17. /**
  18. * Whether or not this analysis is enabled by the user.
  19. *
  20. * @return bool Whether or not this analysis is enabled by the user.
  21. */
  22. public function is_user_enabled();
  23. /**
  24. * Whether or not this analysis is enabled globally.
  25. *
  26. * @return bool Whether or not this analysis is enabled globally.
  27. */
  28. public function is_globally_enabled();
  29. }