Action hook 'submitlink_box'

in WP Core File wp-admin/includes/meta-boxes.php at line 1162

View Source

submitlink_box

Action Hook
Description
Fires at the end of the Publish box in the Link editing screen.

Hook Information

File Location wp-admin/includes/meta-boxes.php View on GitHub
Hook Type Action
Line Number 1162

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into submitlink_box
add_action('submitlink_box', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-admin/includes/meta-boxes.php:1162 - How this hook is used in WordPress core
<?php
1157  	/**
1158  	 * Fires at the end of the Publish box in the Link editing screen.
1159  	 *
1160  	 * @since 2.5.0
1161  	 */
1162  	do_action( 'submitlink_box' );
1163  	?>
1164  <div class="clear"></div>
1165  </div>
1166  	<?php
1167  }

PHP Documentation

<?php
/**
	 * Fires at the end of the Publish box in the Link editing screen.
	 *
	 * @since 2.5.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-admin/includes/meta-boxes.php
Related Hooks

Related hooks will be displayed here in future updates.