edit_form_before_permalink action-hookWP 4.1.0

Fires before the permalink field in the edit form.

Usage

add_action( 'edit_form_before_permalink', 'wp_kama_edit_form_before_permalink_action' );

/**
 * Function for `edit_form_before_permalink` action-hook.
 * 
 * @param WP_Post $post Post object.
 *
 * @return void
 */
function wp_kama_edit_form_before_permalink_action( $post ){

	// action...
}
$post(WP_Post)
Post object.

Changelog

Since 4.1.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-advanced.php
edit_form_before_permalink
wp-admin/edit-form-advanced.php 558
do_action( 'edit_form_before_permalink', $post );

Where the hook is used in WordPress

Usage not found.