Add Action Hook function to WP-User-Frontend for a custom post field

Κλειστό Αναρτήθηκε Dec 28, 2013 Πληρώθηκε κατά την παράδοση
Κλειστό Πληρώθηκε κατά την παράδοση

I'm using WP-User-Frontend plugin on my wordpress site to allow users to submit posts from the frontend.

I only allow users to submit urls. So I created a new form in WP-User-Frontend and gave it 2 fields: title and URL.

All I wanna do is grab the title, description and thumbnail of all submitted links.

WP-User-Frontend allows you to add "action hooks" field into your forms to perform custom jobs.

This is the documentation of WP-User-Frontend on how to add action hooks.

[url removed, login to view]

add_action('HOOK_NAME', 'your_function_name', 10, 3 );

function your_function_name( $form_id, $post_id, $form_settings ) {

// do what ever you want

}

I have also found a function that scrapes external data from urls using cURL and OG tags.

[url removed, login to view]

What I want to do is integrate the Scraper function into WP action hook and display the results in a wordpress post in a neat way.

PHP WordPress

Ταυτότητα Εργασίας: #5266548

Σχετικά με την εργασία

6 προτάσεις Απομακρυσμένη εργασία Ενεργό Feb 3, 2014

6 freelancers κάνουν προσφορές κατά μέσο όρο $36 για αυτή τη δουλειά

evgendob

Hello there. Wordpress expert ready to help you with custom coding. I have more 200 good reviews so all will be done on highest level.

$54 USD σε 3 μέρες
(255 Αξιολογήσεις)
7.3
VnBestSolutions

Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Περισσότερα

$54 USD σε 1 μέρα
(31 Αξιολογήσεις)
5.4