Filter hook 'xmlrpc_text_filters'

in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 6799

View Source

xmlrpc_text_filters

Filter Hook
Description
Filters the MoveableType text filters list for XML-RPC.

Hook Information

File Location wp-includes/class-wp-xmlrpc-server.php View on GitHub
Hook Type Filter
Line Number 6799

Hook Parameters

Type Name Description
array $filters An array of text filters.

Usage Examples

Basic Usage
<?php
// Hook into xmlrpc_text_filters
add_filter('xmlrpc_text_filters', 'my_custom_filter', 10, 1);

function my_custom_filter($filters) {
    // Your custom filtering logic here
    return $filters;
}

Source Code Context

wp-includes/class-wp-xmlrpc-server.php:6799 - How this hook is used in WordPress core
<?php
6794  		 *
6795  		 * @since 2.2.0
6796  		 *
6797  		 * @param array $filters An array of text filters.
6798  		 */
6799  		return apply_filters( 'xmlrpc_text_filters', array() );
6800  	}
6801  
6802  	/**
6803  	 * Retrieves trackbacks sent to a given post.
6804  	 *

PHP Documentation

<?php
/**
		 * Filters the MoveableType text filters list for XML-RPC.
		 *
		 * @since 2.2.0
		 *
		 * @param array $filters An array of text filters.
		 */
Quick Info
  • Hook Type: Filter
  • Parameters: 1
  • File: wp-includes/class-wp-xmlrpc-server.php
Related Hooks

Related hooks will be displayed here in future updates.