Support » Fixing WordPress » Sort Custom Admin Column

  • RyanPrentiss

    (@ryanprentiss)


    I have created an admin post column containing formulated information based upon a WP_Query. I understand how to sort post meta data using the “pre_get_posts” filter and

    ‘$query->set( ‘meta_key’, ‘xyz’ );’

    However, how can I sort figures which are not readily available within post meta data, but are calculations such data?

  • The topic ‘Sort Custom Admin Column’ is closed to new replies.