Download the PHP package voceconnect/objects-to-objects without Composer
On this page you can find all versions of the php package voceconnect/objects-to-objects. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download voceconnect/objects-to-objects
More information about voceconnect/objects-to-objects
Files in voceconnect/objects-to-objects
Package objects-to-objects
Short Description A WordPress plugin/module that provides the ability to map relationships between posts and other post types
License GPLv2+
Informations about the package objects-to-objects
Objects to Objects
Contributors: prettyboymp, klangley, csloisel, markparolisi, jeffstieler
Tags: relationships, mapping, connections, many-to-many
Requires at least: 3.6
Tested up to: 4.4
Stable tag: 1.4.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A WordPress plugin/module that provides the ability to map relationships between posts and other post types.
Description
This plugin provides a development layer on top of WordPress' taxonomy system that simplifies the ability to create many-to-many relationships between post types.
Installation
As standard plugin:
See Installing Plugins.
As theme or plugin dependency:
After dropping the plugin into the containing theme or plugin, add the following:
Usage
Registering a connection
Relationships are registered directly through the method.
Parameters
- (string) - A string used as the lookup key when referencing the connection at later points.
- (array, string) - An array of object or post types that act as the parent for the connections. Note that because O2O uses WP's taxonomy system as it's data interface, care should be taken in deciding which object types are the from object vs the to object since options like sorting can't be applied to both directions of the connection.
- (array, string) - An array of object or post types that the from types can be connected to.
- (array) - An array of options for the connection
- (boolean) - Default: false. By default, the ability to make connections is only displayed on the edit screen for the .
- (mixed) - Options: , , . Default: false. When set to , rewrite rules will automatically be added to supply an endpoint that lists the attached to objects of a single post object. When set to totosortablelimitlabelsnamesingular_namefromfromlimitlabelsnamesingular_namemetaboxorderbyordercontexto2o_queryconnectiondirection$to_object_typesidpost_nameido2o_orderby``` (string) - Set to the connection name to order the results by that connection's ordering. Note that the connection must have ordering set to true for the given direction.