Advertisement
krot

WP фильтр контента post

Dec 7th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. function filter_function_name_11( $content ) {
  2.     // Фильтр...
  3.  
  4.     return strtr($content,array('16mb.com'=>'ru'));
  5. }
  6. add_filter( 'the_content', 'filter_function_name_11' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement