Support » Plugin: Custom Related Posts » Works well, but it missing a function of php array

  • Works very well, Only it will be cool If this plugin develop a function for get the post related by a raw data php for its treatment

Viewing 1 replies (of 1 total)
  • Plugin Author Brecht

    (@brechtvds)

    You could actually use the following codes to get relations from and to:

    CustomRelatedPosts::get()->relations_from( $post_id );
    CustomRelatedPosts::get()->relations_to( $post_id );

    It’s not intended as a public API though, so we might refactor this in the future.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.