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

Cerrado Publicado Dec 28, 2013 Pagado a la entrega
Cerrado Pagado a la entrega

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

Nº del proyecto: #5266548

Sobre el proyecto

6 propuestas Proyecto remoto Activo Feb 3, 2014

6 freelancers están ofertando un promedio de $36 por este trabajo

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 en 3 días
(255 comentarios)
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 !! Más

$54 USD en 1 día
(31 comentarios)
5.4