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 filter to get_coauthors #646

Merged

Commits on Jul 13, 2016

  1. Add filter to get_coauthors

    Adds a filter to get_coauthors to allow hooking in and providing coauthor objects that might not exist in the db. Use case: we have several places in our site where we output authors based on get_coauthors (templates, some custom POST requests we send out to some API's, etc). We have the need to "fake" some coauthors in some instances, and want to be able to dynamically insert them in when a post meets certain criteria. Being able to filter the data that gets returned when calling get_coauthors will allow us to take advantage of all existing code where we use get_coauthors, but will allow us to dynamically inject "fake" authors when needed.
    jasonbahl authored Jul 13, 2016
    Configuration menu
    Copy the full SHA
    caed548 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2019

  1. - fix merge conflicts

    jasonbahl committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    dd6e31f View commit details
    Browse the repository at this point in the history
  2. - fix merge conflicts

    jasonbahl committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    d158558 View commit details
    Browse the repository at this point in the history
  3. Merge commit 'b3f34ce6f989f26d25dcad729767bf72be893677' into jasonbah…

    …l-filter-get_coauthors-1
    
    # Conflicts:
    #	template-tags.php
    jasonbahl committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    984695e View commit details
    Browse the repository at this point in the history