wpseo-functions-deprecated.php 756 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * WPSEO plugin file.
  4. *
  5. * @package WPSEO\Deprecated
  6. */
  7. /**
  8. * Adds help tabs.
  9. *
  10. * @deprecated 7.6.0
  11. * @codeCoverageIgnore
  12. *
  13. * @param array $tabs Current help center tabs.
  14. *
  15. * @return array List containing all the additional tabs.
  16. */
  17. function yoast_add_meta_options_help_center_tabs( $tabs ) {
  18. _deprecated_function( __FUNCTION__, 'WPSEO 7.6.0', 'WPSEO_Help_Center_Template_Variables_Tab::add_meta_options_help_center_tabs' );
  19. return $tabs;
  20. }
  21. /**
  22. * Adds template variables to the help center.
  23. *
  24. * @deprecated 7.6.0
  25. * @codeCoverageIgnore
  26. *
  27. * @return string The content for the template variables tab.
  28. */
  29. function wpseo_add_template_variables_helpcenter() {
  30. _deprecated_function( __FUNCTION__, 'WPSEO 7.6.0' );
  31. return '';
  32. }