P2P_Connection_Type::find_direction( $arg,  $instantiate = true,  $object_type = null )

Attempt to guess direction based on a parameter.


Package


    Description Description


    Parameters Parameters

    (string) (Required) An object type, such as 'post' or 'user'


    Top ↑

    Return Return

    (bool|object|string) False on failure, P2P_Directed_Connection_Type instance or direction on success.


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.