PHP: [RunEverywhere]: ACF Improvements

// // // ADMIN UI: HIDE ACF FIELDS WITH CLASS u-dnone // Allows specific ACF fields to be conditionally hidden in the editor by assigning them the // u-dnone class via field settings. Useful for internal or deprecated fields that…Continue reading

single post

if ( ! isset( $GLOBALS[‘post_md_rec_shown’] ) ) { $GLOBALS[‘post_md_rec_shown’] = []; } $already_shown = &$GLOBALS[‘post_md_rec_shown’]; // Theme unique_ids einlesen und mit eigener Liste zusammenführen $unique_ids = get_query_var( ‘unique_ids’, [] ); $already_shown = array_unique( array_merge( $already_shown, $unique_ids ) ); $post =…Continue reading

WWS – Disable and Redirect the Wholesale Suite Dashboard

/** * Disable and Redirect the Wholesale Suite Dashboard to reduce admin bloat and improve load times. */ // 1. Remove the Dashboard submenu page from the admin menu add_action( ‘admin_menu’, ‘wws_remove_dashboard_submenu’, 9999 ); function wws_remove_dashboard_submenu() { // Parent slug…Continue reading