tumblr_importer_format_post
The Tumblr Importer tumblr importer format post hook.
Description
Parameters (1)
- 0. $post (unknown)
- The post.
Usage
- To run the hook, copy the example below.
- $post = apply_filters( 'tumblr_importer_format_post', $post );
- if ( !empty( $post ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the tumblr_importer_format_post callback
- function filter_tumblr_importer_format_post( $post ) {
- // make filter magic happen here...
- return $post;
- };
- // add the filter
- add_filter( 'tumblr_importer_format_post', 'filter_tumblr_importer_format_post', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'tumblr_importer_format_post', 'filter_tumblr_importer_format_post', 10, 1 );
Defined (4)
The filter is defined in the following location(s).
- /tumblr-importer.php
- $post = apply_filters( 'tumblr_importer_format_post', $post );
- $post = apply_filters( 'tumblr_importer_format_post', $post );
- $post = apply_filters( 'tumblr_importer_format_post', $post );
- $post = apply_filters( 'tumblr_importer_format_post', $post );