R
R
Ruslan Makarov2016-07-18 23:49:06
Drupal
Ruslan Makarov, 2016-07-18 23:49:06

How to specify multiple parameters in WP delete function?

Goodnight!
I'm using a function in wordpress that replaces "something" with "something" in post content, here's what it looks like:

add_filter('the_content','your_delete_function');
function your_delete_function($content) {
return str_replace('что заменить', 'на что', $content);
}

This code has only 1 replacement parameter, how can I add a few replacement words to it?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jetweb, 2016-02-11
@jetweb

If not a redirect, but about robots.txt, then Disallow: /en/questions/unanswered/

A
arman1231, 2016-02-11
@arman1231

User-agent: *
Disallow: /en/questions/unanswered

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question