ap_get_reputation_event_by_slug( string $slug )
Description #
Get a reputation event by slug.
Parameters #
- $slugstring (Required) Event slug.
Source #
File: includes/reputation.php
function ap_get_reputation_event_by_slug( $slug ) { global $wpdb; return $wpdb->get_row( // phpcs:ignore WordPress.DB.DirectDatabaseQuery $wpdb->prepare( "SELECT * FROM $wpdb->ap_reputation_events WHERE slug = %s LIMIT 1", $slug ) ); }
Expand full source code Collapse full source code View on GitHub: includes/reputation.php:409
Add your comment