[{"data":1,"prerenderedAt":11},["ShallowReactive",2],{"$f10wnreymlbwj1":3},{"slug":4,"title":5,"description":6,"published":7,"updated":8,"thumb":9,"html":10},"code-snippet-to-add-own-php-file-in-wordpress","Code Snippet To Add and Use Own PHP File in WordPress In Plugins or Themes","If you want to use own php file in WordPress, you need to make the file friendly to WordPress so that I can read rest of the core WordPress funtctions...","2015-05-06","2016-06-17",null,"\u003Cp>If you want to use own php file in WordPress, you need to make the file friendly to WordPress so that I can read rest of the core WordPress funtctions. Add this snippet on the top of the php page you create.\u003Cbr \u002F>\n\u003Ccode>\u003Cbr \u002F>\n\u003C?php\ndefine('WP_USE_THEMES', false);\nrequire('..\u002Fwp-blog-header.php');\n?>\u003Cbr \u002F>\n\u003C\u002Fcode>\u003C\u002Fp>",1793901039321]