IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
296 | 296 | $bulk_messages = apply_filters( 'bulk_post_updated_messages', $bulk_messages, $bulk_counts ); |
297 | 297 | $bulk_counts = array_filter( $bulk_counts ); |
298 | 298 | |
| 299 | /** |
| 300 | * Filter the title in edit page |
| 301 | * |
| 302 | * By default, custom post types use the messages for the 'post' post type. |
| 303 | * |
| 304 | * @since 4.5.0 |
| 305 | * |
| 306 | * @param string $post_type_title Filter post type title |
| 307 | */ |
| 308 | $edit_post_type_title = apply_filters( 'edit_post_type_title', $post_type_object->labels->name ); |
| 309 | |
299 | 310 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
300 | 311 | ?> |
301 | 312 | <div class="wrap"> |
302 | 313 | <h1><?php |
303 | | echo esc_html( $post_type_object->labels->name ); |
| 314 | echo esc_html( $edit_post_type_title ); |
304 | 315 | if ( current_user_can( $post_type_object->cap->create_posts ) ) |
305 | 316 | echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; |
306 | 317 | if ( ! empty( $_REQUEST['s'] ) ) |