Plugin rename

This commit is contained in:
2026-02-12 22:34:54 +01:00
parent 0e5be7b590
commit d303a55638
16 changed files with 279 additions and 282 deletions
+2 -2
View File
@@ -16,10 +16,10 @@ if ( ! defined( 'ABSPATH' ) ) {
* @param int $activity_id The ID of the activity to update. 0 for new activity.
* @return int|false The ID of the saved/updated activity, or false on failure.
*/
function mystat_save_activity_data( array $data, int $activity_id = 0 ) {
function statpress_save_activity_data( array $data, int $activity_id = 0 ) {
global $wpdb;
$table_activities = $wpdb->prefix . 'mystat_activities';
$table_activities = $wpdb->prefix . 'statpress_activities';
// Helper to convert empty strings to NULL for the database.
$null_if_empty = function( $value ) {