LMS Extra Link in Dashboard Left Menu

add_filter(‘tutor_dashboard/nav_items’, ‘add_some_links_dashboard’); function add_some_links_dashboard($links){ $links[‘custom_link’] = [ “title” => __(‘My link Title’, ‘tutor’), “url” => “https://youtube.com”, “icon” => “tutor-icon-file-blank-page tutor-dashboard-menu-item-icon”, ]; return $links; }Continue reading

PHPmyadmin

“name”: “phpmyadmin/phpmyadmin”, “type”: “project”, “description”: “A web interface for MySQL and MariaDB”, “keywords”: [“phpmyadmin”,”mysql”,”web”], “homepage”: “https://www.phpmyadmin.net/”, “support”: { “forum”: “https://www.phpmyadmin.net/support/”, “issues”: “https://github.com/phpmyadmin/phpmyadmin/issues”, “wiki”: “https://wiki.phpmyadmin.net/”, “docs”: “https://docs.phpmyadmin.net/”, “source”: “https://github.com/phpmyadmin/phpmyadmin” }, “license”: “GPL-2.0-only”, “authors”: [ { “name”: “The phpMyAdmin Team”, “email”: “[email protected]”,…Continue reading

Gravity Forms Login User After Registration.

/** * Snippet Name: Gravity Forms Login User After Registration. */ remove_action(“gform_post_submission”, array(“GFUser”, “gf_create_user”)); add_action(“gform_after_submission”, array(“GFUser”, “gf_create_user”), 10, 2); add_action(“gform_user_registered”, “gforms_autologin”, 10, 4); function gforms_autologin($user_id, $config, $entry, $password) { $form = RGFormsModel::get_form_meta($entry[‘form_id’]); $user_login = apply_filters(“gform_username_{$form[‘id’]}”, apply_filters(‘gform_username’, GFUser::get_meta_value(‘username’, $config, $form, $entry),…Continue reading

matt

function afficher_table_custom_paginee_direct() { global $wpdb; // Augmenter la limite de mémoire si possible ini_set(‘memory_limit’, ‘256M’); $lignes_par_page = 25; $page = isset($_POST[‘page_num’]) ? intval($_POST[‘page_num’]) : 1; $offset = ($page – 1) * $lignes_par_page; $recherche = isset($_POST[‘search’]) ? trim($_POST[‘search’]) : ”; $manufacturier_filtre…Continue reading