• apply_filters("wpaie_formatted_data",$formattedData, $operationCategory);

    It has 2 parameters Data and Operation Category-
    Data- Returns array formatted data.
    Operation Category- Type of Operation like
    POST , PAGE , CATEGORY , COMMENT , USER ,
    TAXONOMY , CUSTOMPOST , WPTABLE , PLUGINS
    Example-
    function example_callback( $data, $type ) {
    if($type=="POST")
    {
    return $data;
    }
    add_filter( 'wpaie_formatted_data', 'example_callback',10,2 );
  • do_action("wpaie_importdata", $insertedId, $importType);

    It has 2 parameters User ID and Import Type-
    Import Type- It will be user , comment , taxonomy , post , product
    Example-
    function wpdocs_my_import_data_fun($userId, $importType){
    }
    add_action("wpaie_importdata","wpdocs_my_import_data_fun");
  • do_action("wpaie_exportfile", $downloadLink);

    It has 1 parameter Download Link-

    Example-
    function wpdocs_my_export_file_fun($downloadLink){
    }
    add_action("wpaie_exportfile","wpdocs_my_export_file_fun");