My WP Trek

Playing with WordPress


Added more themes to Subscriber addons for The Events Calendar ( )
code php wordpress
Php function 'create_function' has been deprecated as of PHP 7.2.0. So, while initializing widget I used to do this, add_action(
// [shortcode_name] add_shortcode( 'shortcode_name', 'your_shortode_function' ); function your_shortode_function( $atts ) { return "name = { $atts['name'] }"; }   Simple
WordPress function used to register, enqueue and localize javascript and css files. add_action( 'init', 'register_script_style' ); function register_script_style() { wp_register_style(

    Feed has no items.
Scroll to top