opml_head
Action HookDescription
Fires in the OPML header.Hook Information
File Location |
wp-links-opml.php
View on GitHub
|
Hook Type | Action |
Line Number | 43 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into opml_head
add_action('opml_head', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-links-opml.php:43
- How this hook is used in WordPress core
<?php
38 /**
39 * Fires in the OPML header.
40 *
41 * @since 3.0.0
42 */
43 do_action( 'opml_head' );
44 ?>
45 </head>
46 <body>
47 <?php
48 if ( empty( $link_cat ) ) {
PHP Documentation
<?php
/**
* Fires in the OPML header.
*
* @since 3.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-links-opml.php
Related Hooks
Related hooks will be displayed here in future updates.