PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.5
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.5
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / stripe / models / FrmTransLiteLog.php

FrmTransLiteLog.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.5, at stripe/models/FrmTransLiteLog.php

28 lines 459 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 class FrmTransLiteLog {
7
8 /**
9 * @param string $title
10 * @param string $text
11 * @return void
12 */
13 public static function log_message( $title, $text ) {
14 if ( ! class_exists( 'FrmLog' ) ) {
15 error_log( $title . ': ' . $text );
16 return;
17 }
18
19 $log = new FrmLog();
20 $log->add(
21 array(
22 'title' => $title,
23 'content' => $text,
24 )
25 );
26 }
27 }
28