The post title and inline “Edit” links in the posts list table at wp-admin/edit.php
uses get_edit_post_link()
which applies a filter hook also named get_edit_post_link
, so if (I correctly understood that) you want to modify those links (URL), you can use that filter. E.g.
// Note: The callback will run anywhere, not just at wp-admin/edit.php
add_filter( 'get_edit_post_link', 'my_filter_edit_post_link', 10, 2 );
function my_filter_edit_post_link( $link, $post_id ) {
$url = get_post_meta( $post_id, 'custom_URL', true );
// it's all up to you on what params to add to the custom URL
return $url ? add_query_arg( 'post', $post_id, $url ) : $link;
}
Related Posts:
- How to display liked posts of current user in wordpress?
- Get posts by category with pure SQL query
- Query all posts and not repeat the same tag
- List only parent attributes on woocommerce admin atrributes page
- Change pure SQL database query to WordPress post query?
- How to sort by two meta keys in admin area?
- Hook into the Admin Dashboard and redirect users
- Query Post interferes with Pagination
- My archives page won’t sort posts by month
- When should you use WP_Query vs query_posts() vs get_posts()?
- How to display SQL query that ran in query?
- How to remove admin menu pages inserted by plugins?
- How can I create a meta_query with an array as meta_field?
- Add a Separator to the Admin Menu?
- Query multiple meta key values?
- How to Optimize WP site for millions of posts
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Adding a custom admin page
- Wp get all the sub pages of the parent using wp query
- How to remove entire admin menu?
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- Get the ID of the latest post
- How to query for most viewed posts and show top 5
- Hide other users’ posts in admin panel
- How to get comments by post ID?
- WP_Query vs get_posts
- Differences between wpdb->get_results() and wpdb->query()
- Is there a way of increasing the speed of this query?
- Get all image from single page using this query
- How can I query all users who registered today?
- Get Terms by IDs with IDs order
- Plugin to remove Admin menu items based on user role?
- Add separator to admin submenu
- Reversing the order of posts AFTER the query is performed
- Add my own button next to “Screen options” and “Help” in the admin
- what are the numbers between curly brackets in search query
- simple sql query on wp_postmeta very slow
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Using WordPress public query variables
- How to Use Wildcards in $wpdb Queries Using $wpdb->get_results & $wpdb->prepare?
- Modify Admin Bar Link
- When/why does ‘$query->get( ‘tax_query’ );’ return empty?
- How to get link and title of next and previous post on single page
- Create pagination and order according to alphabet
- wpdb get posts by taxonomy SQL
- How to List Events by Year and Month Using Advanced Custom Fields?
- restrict_manage_posts not working in 3.3.1
- Is there any difference between hooks posts_where with posts_join and posts_search performance wise?
- wordpress query – orderby child post date
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- How many WordPress SQL Queries per page?
- Is it OK to move admin menu items?
- How to display Section for certain time
- Add multiple value to a query variable in WordPress
- Search custom post type by meta data
- Custom query_var causes displaying posts archive on front page
- How to show custom menu items in the WordPress android app?
- Slow wp_enqueue_media()
- Multipart/formatted MySQL query problem
- What is the most efficient way of implementing a favorite post system?
- Query Custom Meta Value with Increment
- How to remove items from +New admin menu?
- Problem with ‘post__not_in’
- Remove [gallery] shortcode altogether
- Is `query_posts` really slower than secondary query?
- Compare two numeric custom fields
- Remove ability to access certain admin menus
- Are there any scenarios where the query_posts may be used?
- wp_dropdown_categories with multiple select
- Advanced Custom Fields – Query Efficiency
- renaming an admin menu item with decimal array index number
- Appearance->Editor not visible
- Alter query on edit.php
- Custom WP_List_Table displays blank rows
- Why does get_the_time(‘F j’) return November 30 for all posts?
- How do I fix this error: Warning: invalid argument supplied for foreach()?
- Get posts by meta data OR title
- How do I set up a webhook?
- How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
- Query by one meta_key and sort by another (possibly NULL value)
- How to tune search argument in WP_Query to show only exactly the same results?
- Perform query with meta_value date
- WP_Query ordered by custom field that is a date string?
- Sort X categories by last update and show image
- Make sub menu items a main link in the admin menu using fuctions.php
- Custom query filter not working on woocommerce category page
- How to delete a transient on post/page publish?
- using post__in allow duplicate post id
- How to Add Admin Bar and Admin Menu or Submenu Notification Bubbles?
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- Very slow query
- Is it possible to disable certain user roles from creating tags?
- query multiple taxonomy and show post count
- Search Terms – Querying on either description__like OR name__like in the same Term Query?
- Admin pages have no content
- Query & Sort Comments by custom comment meta
- WordPress Left Hand Side Admin Menu Always Collapsed
- How to get my loop to pull posts into three columns
- How to display lastest post date in the homepage?