SimpleHistory::testlog_old PHP Method

testlog_old() public method

public testlog_old ( )
    public function testlog_old()
    {
        // Log that an email has been sent
        simple_history_add(array("object_type" => "Email", "object_name" => "Hi there", "action" => "was sent"));
        // Will show “Plugin your_plugin_name Edited” in the history log
        simple_history_add("action=edited&object_type=plugin&object_name=your_plugin_name");
        // Will show the history item "Starship USS Enterprise repaired"
        simple_history_add("action=repaired&object_type=Starship&object_name=USS Enterprise");
        // Log with some extra details about the email
        simple_history_add(array("object_type" => "Email", "object_name" => "Hi there", "action" => "was sent", "description" => "The database query to generate the email took .3 seconds. This is email number 4 that is sent to this user"));
    }
SimpleHistory