Functions.php doubts/concerns
-
Hey,
I currently have 2 concerns regarding functions.php and the overall custom admin page’s functionality.1- Is there any way of creating a function for the custom admin page, that will allow the user to rename file-xx.php to file-99.php once the user writes 99? I was thinking about adding a “text” array to my custom admin page through functions.php, so that the user types a number; however I do not know how I could then use this number and add it to a file’s name.
2- I also wanted to know if it is possible to add PHP stripslashes as an argument for query_posts. For instance `query_posts(‘cat= stripslashes(get_option(“my_arrayid”));’ ‘);
Thanks in advance!
Chris
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Functions.php doubts/concerns’ is closed to new replies.