LH Logged In Post Status 1.09 has 5 actions and 7 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when LH Logged In Post Status fires an action
add_action( 'post_submitbox_minor_actions', function( $post ) {
// Your code runs here.
}, 10, 1 );
// Change a value LH Logged In Post Status is about to use
add_filter( 'wp_statuses_get_ordered_statuses', function( $dropdown_statuses, $context ) {
// Change $dropdown_statuses here.
return $dropdown_statuses;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires before the post time/date setting in the Publish meta box. */ do_action( 'post_submitbox_minor_actions', $post ); -
/** * Fires after the post time/date setting in the Publish meta box. */ do_action( 'post_submitbox_misc_actions', $post ); -
/** * This action is documented in wp-admin/includes/meta-boxes.php */ do_action( 'post_submitbox_start', $post ); -
/** * Filter here to edit the order of the displayed statuses. */ apply_filters( 'wp_statuses_get_ordered_statuses', $dropdown_statuses, $context ); -
/** * Filter here to edit the public statuses. */ apply_filters( 'wp_statuses_get_public_statuses', $public_statuses, $post_type, $context ); -
/** * Filter here to edit the Post types built-in statuses apply to. */ apply_filters( 'wp_statuses_get_registered_post_types', wp_statuses_get_supported_post_types(), $status_name ); -
/** * Filter here to disable specific post types. */ apply_filters( 'wp_statuses_get_supported_post_types', $post_types ); -
/** * Filter here to edit the WordPress default statuses labels. */ apply_filters( 'wp_statuses_initial_labels', array( 'publish' => array( 'labels' => array( 'metabox_dropdown' => __( 'Publicly published', 'wp-statuses' ), 'inline_dropdown' => __( 'Published', 'wp-statuses' ), ), 'dashicon' => 'dashicons-visibility', ), 'private' => array( 'labels' => array( 'metabox_dropdown' => __( 'Privately Published', 'wp-statuses' ), 'metabox_submit' => __( 'Save as Private', 'wp-statuses' ), 'metabox_save_on' => _... ); -
/** * Hook here if you need to add some extra attibutes for your custom status. */ do_action( 'wp_statuses_metabox_extra_attributes', $post, $status ); -
/** * Filter here to edit the minified suffix. */ apply_filters( 'wp_statuses_min_suffix', $min ); -
/** * Hook here to be sure all available statuses are registered. */ do_action( 'wp_statuses_registered' ); -
/** * Filter here to have a preview about how custom statuses are managed by the * plugin using: add_filter( 'wp_statuses_use_custom_status', '__return_true' * ); */ apply_filters( 'wp_statuses_use_custom_status', WP_DEBUG );
Generated from LH Logged In Post Status's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: