This should do. Put the following in your functions.php
if (in_array($GLOBALS['pagenow'], array('edit.php', 'post.php', 'post-new.php')))
add_filter('admin_footer_text', 'my_custom_footer_admin_text');
function my_custom_footer_admin_text($text) {
$post_type = filter_input(INPUT_GET, 'post_type');
if (! $post_type)
$post_type = get_post_type(filter_input(INPUT_GET, 'post'));
if ('my_post_type' == $post_type)
return 'my custom message';
return $text;
}
Related Posts:
- Remove “Get Shortlink” button in admin of custom post type
- Change CPT Edit Target Link for Admin List
- Hook for post and page load
- How to enqueue scripts on custom post add/edit pages?
- Change the text on the Publish button
- How do you use a CPT as the default home page?
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Row actions for custom post types?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Register CPTs using Dashicons for admin menu icon in WP 3.8
- How can I remove the “Add New” button in my custom post type?
- Remove “posts” from admin but show a custom post
- Calling a Function After New Post Creation for a WordPress Custom Post Type?
- Making Custom Fields Standard in the Admin UI
- How to Debug the ‘save_post’ Action?
- Adding a drag and drop re-ordering from a custom post type default list [closed]
- Add content in custom post type page after the title and before columns
- Change the edit page for a custom post type?
- How to check if I’m on a custom post type archive in the admin area
- Admin Filter – Add Post Type Description on Post Type Page
- how to group custom post types
- How do I filter the excerpt metabox description in admin?
- get_query_var() not working in pre_get_posts
- Unregister post type from child theme
- Filter for “get_post_type_archive_link()”
- How to add a button to custom post type’s posts-page
- How to add custom columns to Custom Post Type admin screen
- Is it OK to move admin menu items?
- How to hook into the CPT’s title placeholder?
- Hide/Show only specific categories in wp-admin new-post.php
- Best way to filter featured image text for a custom post type?
- flush_rewrite_rules on save_post Does Not Work on First Post Save
- WordPress Custom Post Type Admin Page really slow
- Add content before/after admin post wp-list-table
- Custom post type Admin Page
- Post slug changed using code doesn’t reflect on editor when post is published
- Why get_next_post_link() or get_previous_post_link() doesn’t return the required links?
- Admin Post Update Redirection to Posts Screen
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- How often do you need to register_post_type?
- WP Admin default view mode for Custom Post Type
- How to create notification on frontend using heartbeat api for multiple custom post types
- Remove date and category filters when editing custom post types
- How to set a custom post type post as static front page?
- With what hook can I address all posts from all custom post types when they are published?
- Ordering Post 2 Post admin meta box by meta from CPT
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- how to create my own edit.php admin page code or template for my custom post type
- specify meta_key / meta_value condition for prev_post_link and next_post_link
- Displaying Post Title on Post Edit page?
- Backend search; include CPT meta?
- Hook when adding or editing a specific custom post type? [closed]
- How to programatically set the post title of a CPT on wp-admin
- remove_action conditionally for Custom Post Type
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Make a custom column sortable, by custom post count
- Sort custom post types by last name in the backend
- Using multiple instances of wp_editor in Custom Post Type admin area
- How i add new link after Edit | Quick Edit | Trash | View in quick edit section
- What hook should be used to programmatically create a post only when master post is updated?
- Custom Post Type Name Causing Problem
- How to add post_author column to custom post type
- Creating a function that receives the taxonomy terms that have been changed in a custom post type
- Use a textarea for a custom post type
- How to register custom post types in a plugin?
- Restrict categories to a custom post type
- Add information above a custom post type listing of all posts page
- Changing the header on post listing page in admin area
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- WordPress User Roles, Custom Post Types, and Admin views
- Add text to post list/edit screens?
- Adding menu_order to CPT admin page
- Need functionality with all post list available at edit.php
- Show hierarchical relationship between to custom post types on admin list
- Show Custom Post Type values in WordPress grid view
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- WP-Admin edit.php & post.php slowdown after import of 10k users
- Custom Blog Post Listing in Genesis Sample Child Theme
- How to remove ‘create new post’ entry for a custom post type?
- How to make post sticky in the admin page?
- How to customize admin posts based on the user who is logged in
- Set a default category – if the user didn’t select one- before creating a post
- Can’t unregister parent theme’s CPT from my child theme
- Get all of user’s custom post types in WP Admin for plugin
- Modifying date filter on admin page for custom post type to link to custom field
- Change headers in admin posts list
- Admin notice not displaying
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Hooking in to an archive page?
- How do increase the amount of links shown down the left in the admin menu?
- submenu item edit a specific post
- Remove rows in the manage post/page view
- Add custom column in custom post type edit page
- Insert Multiple Post with Same Publish Button
- Why is conditionally loading a custom plugin’s code only on a specific custom post type causing the site content to disappear?
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- Validate custom fields before save using WordPress Rest API
- Unable to retrieve any posts of CPT in wp-admin
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]