WordPress.org

Support

Support » Plugins and Hacks » [Resolved] can you explain please what this code do?

[Resolved] can you explain please what this code do?

Viewing 1 replies (of 1 total)
  • Plugin Author SketchThemes

    @tikendramaitry

    Hi Cikatomo,

    if (!$changedDir)$changedDir = preg_replace('|wp-content.*$|','',__FILE__);

    This code loads WordPress Farmework into ajax_counter.php file for using WordPress Functions outside the function file or theme files.

    And ajax_counter.php file is for submitting users vote using ajax.

    Regards,
    Tiks

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] can you explain please what this code do?’ is closed to new replies.