Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Empty WordPress plugin
<?php
/**
* Plugin Name: Name Of The Plugin
* Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
* Description: A brief description of the Plugin.
* Version: The Plugin's Version Number, e.g.: 1.0
* Author: Name Of The Plugin Author
* Author URI: http://URI_Of_The_Plugin_Author
* License: A "Slug" license name e.g. GPL2
*/
/* Copyright YEAR PLUGIN_AUTHOR_NAME (email : PLUGIN AUTHOR EMAIL)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Start writing code after this line!
@Time-Lover
Copy link

Time-Lover commented Jan 2, 2019

thanks

@tfxstartupinternational

Excellent! :)

@agrimarcal
Copy link

agrimarcal commented Nov 27, 2019

add_filter ('trp_gp_lang_parameter', 'trp_gp_change_parameter_name');
función trp_gp_change_parameter_name ($ name) {
regresar 'idioma';
}

@jackal-star
Copy link

jackal-star commented Mar 4, 2021

How to fix Href lang to non-canonical on wordpress?

@luc-constantin
Copy link

luc-constantin commented Apr 9, 2021

thank you

@ersanjay5991
Copy link

ersanjay5991 commented Jun 27, 2021

@sareiodata can you please update with latest version and activate and deactivate hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment