How to get the page in a variable which is going to be displayed in Wordpress ?

Posted by KPL on Stack Overflow See other posts from Stack Overflow or by KPL
Published on 2010-03-31T13:07:32Z Indexed on 2010/04/12 11:13 UTC
Read the original article Hit count: 355

Filed under:
|

I want to get the content which are displayed by a particular page in WordPress back-end.

Say, for [ROOT]/wp-admin/profile.php

I want to remove the First Name and Last Name fields from this page. So, I can run a str_replace() to remove the lines.

In this case, I have $search and $replace ... but I need $subject [Ref - http://php.net/manual/en/function.str-replace.php]

How to get the $subject ?

OR, anybody know any other way to do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress