Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return type extension for echo key in args array #144

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

IanDelMar
Copy link
Contributor

This PR adds a dynamic return type extension covering the following functions that support an $echo argument inside an $args array with default value true or 1 :

  • the_title_attribute()
  • wp_dropdown_categories()
  • wp_dropdown_languages()
  • wp_dropdown_pages()
  • wp_dropdown_users()
  • wp_get_archives()
  • wp_link_pages()
  • wp_list_authors()
  • wp_list_bookmarks()
  • wp_list_categories()
  • wp_list_comments()
  • wp_list_pages()
  • wp_list_users()
  • wp_login_form()
  • wp_page_menu()

@szepeviktor
Copy link
Owner

Thank you for your work @IanDelMar!

Please take a look at my WordPress core rewrite and give it a star :)
https://github.com/szepeviktor/WordPress-the-good-parts

@szepeviktor szepeviktor merged commit ece7213 into szepeviktor:master Feb 8, 2023
@johnbillion
Copy link
Contributor

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants