Support » Plugin: Duplicate Page » What is this function ? “duplicate_page_adsense()”

  • Resolved tonio7788


    Wordfence detect this function cause trouble (not included in original file) :

    		public function duplicate_page_adsense() {
    			    $API = "";
    				$curl = curl_init();
    				curl_setopt($curl, CURLOPT_URL, $API);
    				curl_setopt($curl, CURLOPT_POST, 1);
    				curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    				curl_setopt($curl, CURLOPT_POSTFIELDS, "ad_token=DUP_3951m8635u6542n3819i69130s9372h5602");
    				$result = curl_exec ($curl); 
    				$data = json_decode($result, true);
    				curl_close ($curl);
    				if(!empty($data) && $data['status'] == 1 && !empty($data['image'])) {
    					return '<a href="'.$data['link'].'" target="_blank" title="Filemanager PRO"><img src="'.$data['image'].'" width="100%"></a>';

    When I download original files the function is here. Good.

    But what is this function ?

    What is it used for ?

    Thanks for your plugin.

    • This topic was modified 5 months ago by  tonio7788.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mndpsingh287


    Hey @tonio7788,

    Thanks for contacting the support. We are using this function for our other plugins’s advertisement. it will not effect duplicate page plugin’s working functionality.

    Thanks again,



    What is it used for please ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.