dendev/plpwpredirect

There is no license information available for the latest version (dev-master) of this package.

wpredirect for pulpy project

dev-master 2015-12-14 08:32 UTC

This package is not auto-updated.

Last update: 2024-10-26 19:21:29 UTC


README

Build Status Coverage Status Documentation Status

Simple redirect in wp

Install

Pour composer

composer require dendev/plpwpredirect
#   "minimum-stability": "dev",

Dans le code

<?php
require 'vendor/autoload.php';
use DenDev\Plpwpredirect\Redirect;

$root_path = plugin_dir_path( __FILE__ );
$root_url = plugins_url() . '/package/';
$redirect = Redirect::get_instance( array(
	'root_path' => $root_path,
	'root_url' => $root_url,
	'set_update_manager' => true,
	// 'parent_menu' => 'dwpack_menu'
	) 
);

Docs

PhpDoc

Refs:

wp create table

wp redirect

hook update permalien

filtre