By default, each cURL request can access only SSL certified websites. However, at times it is required to access those sites which are self-signed. To verify that your cURL request is able to access self-signed websites or not, use below command:
curl <URL of the domain to Read more…

Suppose you want to design a custom scheduler in wordpress plugin instead of using wordpress scheduler which has fixed values of recurrence which are ‘hourly’, ‘twicedaily’,’daily’. And if you want to make the scheduler dynamic instead of making it static i.e. instead of setting the fixed scheduler value Read more…

We have a custom object Survey and it has a status field with the values: New, Pending and Purchase. When Survey is in Pending status we want to send email to the user on every second day till the status changes.

Merge Tags in gravity forms are the tags that are used to dynamically populate the field values in the form content in gravity forms like IP address, browser name, logged in user name etc . There are many merge tags available in the gravity forms by default.

Suppose the URL contains query string for example www.mywebsite.com/sme_page?q=12
then the value of query variable can be retrieved in PHP using the get method such as:
<?php
echo $_GET[‘q’];
?>
While creating a plugin for WordPress, to retrieve a value of query variables Read more…

How to get all records of sfobject including records in recycle bin of salesforce and undelete the records?

List objlst = [select id,isdeleted from sfobject ALL ROWS]; //Just add ALL ROWS at the end of SOQL, it retrieves all the records including deleted records in recycle bin:
System.debug(‘objlst Read more…