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
- How to enqueue scripts on custom post add/edit pages?
- Change the text on the Publish button
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Row actions for custom post types?
- Register CPTs using Dashicons for admin menu icon in WP 3.8
- Remove “posts” from admin but show a custom post
- How to Debug the ‘save_post’ Action?
- Add content in custom post type page after the title and before columns
- How to check if I’m on a custom post type archive in the admin area
- Unregister post type from child theme
- How to add a button to custom post type’s posts-page
- How to hook into the CPT’s title placeholder?
- 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
- Add content before/after admin post wp-list-table
- Custom post type Admin Page
- Why get_next_post_link() or get_previous_post_link() doesn’t return the required links?
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- How to set a custom post type post as static front page?
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- how to create my own edit.php admin page code or template for my custom post type
- Displaying Post Title on Post Edit page?
- Backend search; include CPT meta?
- remove_action conditionally for Custom Post Type
- Sort custom post types by last name in the backend
- Creating a function that receives the taxonomy terms that have been changed in a custom post type
- Add information above a custom post type listing of all posts page
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- Add text to post list/edit screens?
- Adding menu_order to CPT admin page
- 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
- Set a default category – if the user didn’t select one- before creating a post
- 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
- How do increase the amount of links shown down the left in the admin menu?
- submenu item edit a specific post
- How to avoid manage posts screen duplicates when two plugins use the same library
- Validate custom fields before save using WordPress Rest API
- Selecting a post in Dashboard
- Custom Post List View: Page or something else?
- Custom Taxonomy back-end customizations
- Filter term taxonomy metabox in custom post type
- Tracking changes in admin-page so user gets warning when leaving the page
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Grouping of CPTs and taxonomies into menu groups in admin
- Is there any way to get list of all possible filter hooks for all post types?
- WordPress custom post type capabilities issue
- Add an Outside Wrapper to my Header and Make it Full Width
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- Create field of Custom Post Types
- How check if a post is saved from backend or frontend?
- How to build a WordPress post review system beside commenting
- ACF for custom post type archive pages: which hook to use?
- WordPress hook which triggers on post import
- Custom posts of one type have disappeared from admin. Still appear on site [closed]
- Assigning alternate single-{cpt} template based on blog_id in multisite
- How to get the custom post list to admin user edit page?
- Before saving post hook
- Custom Post Type – Portfolio no longer works
- wordpress post_where set only for my costum post type
- Multiple wp_editor instances in custom post type using Ajax
- Questions regarding add_meta_box()
- How to customize `Edit-Post` Screen
- jQuery UI & Admin (Calendar)
- How to display author details in a custom post type in the wordpress backend?
- Add Content Column to Custom Post Type backend
- Change Text in Admin Panel
- Limiting actions only to edit.php page for specific custom post type
- How can I put content before my custom post type default pages?
- get_posts() returns empty on custom post type /wp-admin/edit.php
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- Using publish_{custom-post-type} hook for custom post type to update meta doesn’t work
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- How to display an admin-notice after custom post type edit modification
- Plugin Development using classes – Public & Private Callbacks
- Sort custom post column by generated value?
- Store a value in global scope after init hook is fired
- Limiting the Number of User Posts to Their Own Posts
- How to overwrite function to display parent page combobox for custom post type in Edit Post Page?
- Dynamic page for nav items used as filters
- Restrict Custom Post Type to One Item
- How to store additional data that is related to core data
- How to override post-new.php with custom template
- Group based routing and administration
- Limit Number of Custom Post Type Dashboard
- Execute code only after user clicks ‘update’ button for CPT being edited
- Custom Post Type Pagination Problem in Admin Section
- Hook only specific post type
- Filtering in admin broken for custom post type in 3.8.1?
- Custom post type won’t take my custom fields
- How to make an admin create/edit post page to look like taxonomy page?
- Create action running on trashed_post hook to modify post_meta value
- admin search of pages returns custom post types
- add comments custom fields after user is logged in
- Redirect drafted post of custom post type to URL?
- Custom order of CPT posts by title, in wp-admin area by default