feed_links_args
Filter HookDescription
Filters the feed links arguments.Hook Information
File Location |
wp-includes/general-template.php
View on GitHub
|
Hook Type | Filter |
Line Number | 3257 |
Hook Parameters
Type | Name | Description |
---|---|---|
array
|
$args
|
An array of feed links arguments. |
Usage Examples
Basic Usage
<?php
// Hook into feed_links_args
add_filter('feed_links_args', 'my_custom_filter', 10, 1);
function my_custom_filter($args) {
// Your custom filtering logic here
return $args;
}
Source Code Context
wp-includes/general-template.php:3257
- How this hook is used in WordPress core
<?php
3252 *
3253 * @since 6.7.0
3254 *
3255 * @param array $args An array of feed links arguments.
3256 */
3257 $args = apply_filters( 'feed_links_args', $args );
3258
3259 /**
3260 * Filters whether to display the posts feed link.
3261 *
3262 * @since 4.4.0
PHP Documentation
<?php
/**
* Filters the feed links arguments.
*
* @since 6.7.0
*
* @param array $args An array of feed links arguments.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/general-template.php
Related Hooks
Related hooks will be displayed here in future updates.