[PHP] core.acp_style_activate

Request hook events and what data needs to be sent for the new hook system.
Post Reply
KillBill.
Registered User
Posts: 20
Joined: Wed Feb 11, 2015 6:07 am

[PHP] core.acp_style_activate

Post by KillBill. »

  • Identifer: core.acp_style_activate
    Location: includes/acp/acp_styles.php
    Parameters: $ids
    Explanation: phpBB Arcade category style update
Example:

Code: Select all

		// Activate styles
		$sql = 'UPDATE ' . STYLES_TABLE . '
			SET style_active = 1
			WHERE style_id IN (' . implode(', ', $ids) . ')';
		$this->db->sql_query($sql);

		$vars = array('ids');
		extract($phpbb_dispatcher->trigger_event('core.acp_style_activate', compact($vars)));
Ticket :: https://tracker.phpbb.com/browse/PHPBB3-13607

Post Reply