As per the suggestion of Milo who pointed me to the right direction, this problem has now been resolved.
All I had to do was this…
add_action( 'init', 'get_custom_tax' );
function get_custom_tax() {
$args = array(
'public' => true,
'_builtin' => false
);
$taxonomies = get_taxonomies( $args, 'names', 'and' );
foreach($taxonomies as $key => $taxonomy) {
$filter = "manage_edit-{$taxonomy}_columns";
add_filter( $filter, 'add_shortlink_column', 50, 1 );
}
}
Related Posts:
- AJAX with loop filtering categories
- Exclude filter on front page
- Filtering The Loop For Single Page and Blog Page
- Sort Posts By Category?
- Custom search form to display users only
- How to get an array of years from all of the search results, and use it to filter by year the paginated loop?
- Query posts if meta key starts with
- How to return only one instance of each, from the entire loop
- Query reset problem or flawed code to enable custom post type query
- Combining action and filter?
- Filter the loop by categories using checkbox form
- Filter the_posts doesn’t work on search page
- Trying to get property of non-object in shortocde
- Make a loop to return x number of posts, but only if they have content or excerpt
- Loop order issue with Ajax filter
- Add Search and Filter functionality to custom loop
- Reorder posts in a loop: have the posts by one particular author below the others
- How to filter get previous post function by meta value DESC and post date DESC?
- WordPress redundant posts based on meta field
- Remove posts_orderby filter then add it back in
- Buddypress Group Activity Loop Filter activity type [closed]
- get_posts and wp_autop (remove filter)
- Help with add_filter(‘the_content’, ‘some_function’) and multiple matches
- Applying a filter to multiple loops for days ago
- Get date of last update outside of loop
- Show scheduled posts in archive page
- post__in – Placing content from a foreach loop inside of an array
- loop query exclude meta_key with meta_value
- Pagination adding extra posts only on page 2
- If Loop has odd number of posts on last page Custom style for last post in it
- Custom page template
- Get posts that matches specific terms of multiple custom taxonomies
- add_filter() doesn’t work in loop
- The Loop in Static Page
- How can I use get_permalink() outside the loop?
- Two loops by pre_get_post on same page
- How to check for specific content in comments in the loop
- Problem the_permalink
- Loop posts only excluding first post
- Can’t access login screen, wp-login.php 404’s
- Create static front-page with 3-5 recent posts
- Customize WooCommerce Product Images (Placement and size) [closed]
- Create a loop that gets pages with their template
- get latest 5 posts and a specific post and sort in a specific order
- How to check if a post exist?
- How do I run through a WordPress loop called from a filter function?
- Why cant you place the Loop outside of the index.php?
- sticky post in custom loop
- Pagination for multiple loops
- Infinite Scroll on a loop?
- On single.php, fetch 2 posts created after and 2 posts created before in relation to the actual post (using menu_order)
- Post classes in the loop are being changed in certain themes
- Exclude page name from loop
- PHP if post is already displayed, then
- How to style first post differently with ‘get_template_part’?
- “Call to a member function have_posts() on array” error on have_posts();
- in Foreach Loop the Description is not showing?
- 404 Template customization | Want 10 recent Post on the 404.php error page apart from the error Notice
- How to exclude or filter password protected posts when using next_post_link() previous_post_link
- How to append a query string to pagination?
- Get the image src and href data from posts
- Sending mail not working correctly
- WordPress shortcode in content, output in sidebar?
- Using variable in WordPress loop as criteria
- WordPress Alphabetical Sort Loop Issue
- Call wp-blog-header.php header without performing a wp_query
- Display post formats differently on index.php (loop in function)
- how can i order the category by date
- Change position of entry title
- excerpt not showing up
- Announces with different formatting dependently on a number
- Override orderby to create list of users by custom meta_value
- Loop info in jquery Tabs – loop into a variable?
- List page is showing 404
- Duplicated tag in loop
- Insert content above an embedded video inside Wordress’ php the_content
- Loop only shows first two posts
- Why is my archive page looping through all but one post?
- Loop two different category WP_Query
- Use ACF Category Image for all Taxonomy Archive Views
- Loop with custom posts, to include information from different custom post type
- the loop printing post in one grid
- Transient not working for external data
- adding tax_query to $query_string
- the_title() Returns the page title instead of the post
- How do I aproach this?(for sale, for lease, sold->move something from a category to another)
- How to fix pagination for custom loops?
- query_posts ignores the argument
- How does the JSON API work to parse incoming JSON and fetch a post based on an ID?
- How to add excerpt in loop in Twenty Eleven theme?
- show posts from one category with comments only
- Loop from another WP site onto mine
- How to implement template file and the loop
- Show only posts from todays date [duplicate]
- I need to update the post query? [closed]
- Wrap every 2 divs in row – for each loop [closed]
- How to add class to the last image of the last post in a loop
- Multiple loop with pagination in same page
- Why did my most recent article fall behind an older one on my site?
- Hook in the loop after the first post