export_args
Filter HookDescription
Filters the export args.Hook Information
File Location |
wp-admin/export.php
View on GitHub
|
Hook Type | Filter |
Line Number | 121 |
Hook Parameters
Type | Name | Description |
---|---|---|
array
|
$args
|
The arguments to send to the exporter. |
Usage Examples
Basic Usage
<?php
// Hook into export_args
add_filter('export_args', 'my_custom_filter', 10, 1);
function my_custom_filter($args) {
// Your custom filtering logic here
return $args;
}
Source Code Context
wp-admin/export.php:121
- How this hook is used in WordPress core
<?php
116 *
117 * @since 3.5.0
118 *
119 * @param array $args The arguments to send to the exporter.
120 */
121 $args = apply_filters( 'export_args', $args );
122
123 export_wp( $args );
124 die();
125 }
126
PHP Documentation
<?php
/**
* Filters the export args.
*
* @since 3.5.0
*
* @param array $args The arguments to send to the exporter.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-admin/export.php
Related Hooks
Related hooks will be displayed here in future updates.